My style of programming requires the use of Word, and magic quotes cannot be turned off on the machine I work on without breaking other Word utilities I use. I need a way to clear magic quotes automatically and, if possible, remotely from a PHP script, using PHP, Perl or JavaScript.
I will often have a thousand or more statements running at once; on one script. If only one magic quote has worked its way through, I must identify the error by trial and error (they're impossible to see), that is by going to an identical magic quote (left or right) and copy-pasting it to the replace utility in Wordpad, where I've pasted my scripting, and then hitting replace.
If this happens forty times in a day (maximum), I might lose an hour or two doing this stupid task.