RE: [PHP-WIN] re: $POST vars
| From: | Matt Babineau | Date: | Wed, 24 Apr 2002 14:10:05 +0000 |
| Subject: | RE: [PHP-WIN] re: $POST vars | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13273@lists.php.net to get a copy of this message | ||
I am merely trying to see whether a page was posted to or not, and
perform an action from the result.
Matt Babineau
Freelance Internet Developer
e: mbabineau@illuminatistudios.com
p: 603.943.4237
w: http://www.illuminatistudios.com
-----Original Message-----
From: Scott Hurring [mailto:scott@eacnet.com]
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 checking on them. :)
> -----Original Message-----
> From: Ross Fleming [mailto:r.fleming@totalise.co.uk]
> 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 try this, thereby
> leaving you
> rather safe...
>
> ;-)
>
> Ross
>
> Matt Babineau wrote:
>
> > When submitting a page to itself, is it safe to check for
> the existance
> > of the $POST variable to tell whether the form was
> submitted and if it
> > was to perform and action utilizing the post variables?
> >
> > Matt Babineau
> > Freelance Internet Developer
> > e: <mailto:mbabineau@illuminatistudios.com>
> > mbabineau@illuminatistudios.com
> > p: 603.943.4237
> > w: <http://www.illuminatistudios.com/>
http://www.illuminatistudios.com
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php