[thelist] EMail format question.

Jay Blanchard jay.blanchard at niicommunications.com
Wed Nov 12 12:03:26 CST 2003


[snip]

>What to do?

>http://www.php.net/stripslashes

i'm not sure this is right.

the manual at php.net suggests stripcslashes (!=stripslashes) where mail
is 
concerned

http://uk2.php.net/mail
http://uk2.php.net/stripcslashes
[/snip]

Actually, it does not suggest that at all and these are intended for two
diffent stripping operations

stripslashes - Returns a string with backslashes stripped off. (\'
becomes ' and so on.) Double backslashes (\\) are made into a single
backslash (\). 

stripcslashes - Returns a string with backslashes stripped off.
Recognizes C-like \n, \r ..., octal and hexadecimal representation. 


More information about the thelist mailing list