[PHP] Re: global find and replace

2003-03-08 Thread James
Add an append file to the php.ini file, this script will act the default loader before any other php action. parse $HTTP_POST_VARS and $HTTP_GET_VARS and $HTTP_FILES or whatever you want Parsing the POST_VARS and GET_VARS will mean you will not have to worry about variable names dont use eregi_*

[PHP] Re: global find and replace

2003-03-08 Thread Mark Heintz PHP Mailing Lists
Actually, in this case str_replace() would be preferred over preg_replace, as it would be faster. foreach($_REQUEST AS $key = $val) { $_REQUEST[$key] = str_replace(';', '', $val); } mh. On Sat, 8 Mar 2003, James wrote: Add an append file to the php.ini file, this script will act the

Re: [PHP] Re: global find and replace

2003-03-08 Thread James
yup. Mark Heintz Php Mailing Lists [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Actually, in this case str_replace() would be preferred over preg_replace, as it would be faster. foreach($_REQUEST AS $key = $val) { $_REQUEST[$key] = str_replace(';', '', $val); } mh. On