What do people on this list usually do with this kind of problem. To me, the .htaccess seems the easiest solution, since I don't have to change any scripts.
Use a .htaccess file, or if performance is any sort of concern, put it in the server configuration files and turn off .htaccess files.
Failing that you could do it in the script with your stripslashes_array() function, but you should only do it when you need to. eg. There's no point using it on $_COOKIE if you're not using $_COOKIE.
-- Richard Heyes +44 (0)844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php