[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] phpMyAdmin



> > magic_quotes_gpc = On
>
> Thanks got rid of the waring by editing the php.ini just like you
said.

Todd if you've written any PHP scripts that accept input from a form
and display it somehow (either on a webpage or via email), then you'll
need to go back and make little changes to those scripts since you've
just changed the way they work. Adding things like addslashes and
stripslashes will fix you right up - when you change the 'magic quotes
gpc' variable you're going to start having everything popping up with
backslashes like so:
Here\'s the file, it\'s not done yet but it\'s almost there

(Unless you've already hardcoded in the addslashes/stripslashes... in
which case, ignore this message.)

CarrieB