uminatistudios.com
>
>
>
> -Original Message-
> From: Eduards Cauna [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 24, 2002 10:42 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] re: $POST vars
>
>
>
> >I am merely trying to see whether a page was pos
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
: Eduards Cauna [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 10:42 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] re: $POST vars
>I am merely trying to see whether a page was posted to or not, and
>perform an action from the result.
>
>Matt Babineau
--
PHP Windows
>I am merely trying to see whether a page was posted to or not, and
>perform an action from the result.
>
>Matt Babineau
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
]]
Sent: Tuesday, April 23, 2002 6:10 PM
To: Php-Win (E-mail)
Subject: RE: [PHP-WIN] re: $POST vars
merely checking a variable is safe (for ex:)
if (empty($X)) or if (defined($X)) or if ($X)
I just hope you don't check for them and go
on to use the dirty values w/o any sanity
or bounds che
L PROTECTED]]
> Subject: Re: [PHP-WIN] re: $POST vars
>
>
> If by "safe" you mean physically safe, then yes, I can
> confirm that you
> will be in no physical danger if you make this assumption,
> neither the web
> server nor the browser will explode if you t
If by "safe" you mean physically safe, then yes, I can confirm that you
will be in no physical danger if you make this assumption, neither the web
server nor the browser will explode if you try this, thereby leaving you
rather safe...
;-)
Ross
Matt Babineau wrote:
> When submitting a page to i