I was doing a test of stripslashes on a $_POST, when I recieved the email, 
all of the slashes were still in the data posted.

I used :

$fname = stripslashes($_POST['fname']);

I input G\\a//r\y\\, and was expecting, according to the manuel G\a//r*y\, 
but got the original spelling.

I added:

echo stripslashes($fname); and did get the expected result on the page, but 
not in the email from the $_POST.

I also tried

$fname = (stripslashes($_POST['fname']));

But got the same result.

Can anyone tell me what I am not understaning?

Thank you

Gary 



__________ Information from ESET Smart Security, version of virus signature 
database 5625 (20101116) __________

The message was checked by ESET Smart Security.

http://www.eset.com





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to