[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> on Thursday, July 24, 2003 12:47 PM said:
> I was wondering if there is a way to detect if any given variable
> came in to a page via post, or a get from a form.
if(empty($_GET['var']))
{
if(empty($_POST['var']))
echo "variable empty";
else
echo "came in on \$_POST";
}
else
echo "came in on \$_GET";
That should give you a hint.
chris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

