Re: [PHP] Why $_REQUEST do the same thing as mysql_escape_string()

2007-10-17 Thread Eric Butera
On 10/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 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'] = "\\' \\\"

[PHP] Why $_REQUEST do the same thing as mysql_escape_string()

2007-10-17 Thread truncatei
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?