RE: [PHP] Will this do what I think it will?
| From: | John W. Holmes | Date: | Fri, 14 Mar 2003 01:59:22 +0000 |
| Subject: | RE: [PHP] Will this do what I think it will? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139644@lists.php.net to get a copy of this message | ||
> I call this file 'clean_gpc.php'.
>
> Will it:
> // trim all control codes and spaces from ends of string
> // standardize Window's CRLF in middle of string to \n
> // standardize Apple's LF in middle of string to \n
> // remove all control characters BELOW \n
> // remove all control characters ABOVE \n
> // compresse run on spaces to a single space
> // compresse run on carriage returns to a max of 2
Sure... why not. Honestly, why did you write this email? You wasted a
couple hundred people's time when you could have just run the function
yourself.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/