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_*
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
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
3 matches
Mail list logo