Topic: php magic quotes question
i am so utterly confused by magic quotes.
when i echo get_magic_quotes_gpc(), it gives me a 1.
so this should mean that when i push variables to php, it runs addslashes() on them automatically.
i take these vars and run addslashes(trim()) on them, and insert them into my database.
then, if i view them in phpmyadmin, they only show one set of slashes behind quotes and stuff.
and when i select the fields, run stripslashes() once on them, and print them to a page, they don't have any slashes.
so it seems that the script is supposed to be adding two sets of slashes, but it's only doing one.