Magic what?
Ok I've got a magic_quotes problem wanted to see if I could get some help.
I'm running a script that has a bug and doesn't check to see if I've got magic_quotes turned on in my php.ini file. Well I do, and I need it to stay on. The problem is though this script is automatically putting them in when it dumps the info into the db. So I'm ending up with output that looks like \"http://www.foo.com/\" which of course breaks everything.
What I wanted to know if there was a way anyone knew of to set at the top of the php page which houses the script a variable to turned them off for that page. Either disable the ones in the ini or just in that script.
set_magic_quotes_runtime=0 Something of that nature, you at least get the drift.
Thanks
I'm running a script that has a bug and doesn't check to see if I've got magic_quotes turned on in my php.ini file. Well I do, and I need it to stay on. The problem is though this script is automatically putting them in when it dumps the info into the db. So I'm ending up with output that looks like \"http://www.foo.com/\" which of course breaks everything.
What I wanted to know if there was a way anyone knew of to set at the top of the php page which houses the script a variable to turned them off for that page. Either disable the ones in the ini or just in that script.
set_magic_quotes_runtime=0 Something of that nature, you at least get the drift.
Thanks
