RE: [PHP-WIN] re: $POST vars
| From: | Mike Flynn | Date: | Wed, 24 Apr 2002 14:52:59 +0000 |
| Subject: | RE: [PHP-WIN] re: $POST vars | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13276@lists.php.net to get a copy of this message | ||
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