Why $_REQUEST do the same thing as mysql_escape_string()

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

 



I put some thing in an form input filed like this:
' " \
then submit to a php script.
When use $_GET / $_POST / $_REQUEST to get the value,
I always get:
\' \" \\
In php expression it should be:
$_REQUEST['field'] = "\\' \\\" \\\\";

Any one who can tell me why?

[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