|  | Posted by Curtis on 12/12/06 10:11 
If you have access to php.ini, you can set the magic_quotes_gpcvariable 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.com> wrote:
 > 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
  Navigation: [Reply to this message] |