I'm doing a PHP site hosted on a Zeus webserver with FastCGI and magic_quotes_gpc enabled. I don't want magic quotes.... is there some way I can dynamically turn it off? With an Apache module you can use php_flag magic_quotes_gpc 0 but this isn't a module.
Doing an ini_set before I do any processing is useless as GPC has been handled by PHP before it starts any of my code. Is my only option to parse GPC at the start of each page and strip out the auto added quotes? or is there a more elegant way?
BTW: if I must use the last method are there any pre-exisiting scripts. I wrote one that worked OK until it got to array values being submitted so I'll need to make it smarter (... thus slower).