If you have access to php.ini, you can set the magic_quotes_gpc
variable to "On". Alternatively, you can set it using the ini_set
function in your scripts (See:
http://php.net/ini_set).
However, it would be better if you just escaped input on your own, and
having PHP automatically add slashes is a nuisance if you already do.
Curtis
On Dec 12, 1:48 am, "Tarscher" <tarsc...@gmail.comwrote:
Hi all,
Is there a way I can always enable addslashes by including a line of
code to the top of my pages?
Thanks in advance
Stijn