Stripslashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux