At 10:49 AM 4/24/2002 -0400, you wrote:
>Yeah that is the idea, are there any bad things about doing it this way?
>The POST array does not exist if the page has not been posted to?

To be safer, you could check the sizeof($HTTP_POST_VARS), rather than just 
if it is set (exists).  That might work better.  But I don't actually know 
how that variable works (if it is always set or not, or if there are 
default values in it even if a form has not been posted).  But this seems 
like a better bet than just doing isset() on it, anyway.

-Mike


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to