Is
stripslashes($_POST);
the same as
stripslashes($_POST['var1']);
stripslashes($_POST['var2']);
stripslashes($_POST['var3']);
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is
stripslashes($_POST);
the same as
stripslashes($_POST['var1']);
stripslashes($_POST['var2']);
stripslashes($_POST['var3']);
Nope.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
But you could do this:
function f($value, $key)
{
$value = stripslashes ($value);
}
array_walk($_POST, 'f');
On Thu, 2002-10-31 at 13:41, 1LT John W. Holmes wrote:
Is
stripslashes($_POST);
the same as
stripslashes($_POST['var1']);
stripslashes($_POST['var2']);
3 matches
Mail list logo