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'] = "\\' \\\" \\\\";
>
> Any one who can tell me why?
>

magic_quotes_gpc

Also it doesn't necessarily do the same thing.
mysql_real_escape_string() takes into consideration character sets.

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

Reply via email to