I recently transfered a site from a server which WAS using
'magic_quotes_gpc' to one which wasn't. MAJOR pain to go through all of the
code and add the addslashes() command, so probably (for portability reasons)
bettert o use the addslashes() command by default.



"Matt Cahill" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
>   This is my first post to this mailing list, so I hope this is
> clear enough...
>
>   What are the consequences of turning off 'magic_quotes_gpc'
> (ignore quotes)in the php.ini file to avoid / marks in my comment
> form, vs. inserting the line 'stripslashes($var);' in the page itself?
>
>   Is this something that's going to haunt me later on if I continue to
> develop my site using PHP?
>
>   Cheers,
>
> Matt Cahill
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to