Re: [PHP-WIN] re: $POST vars

2002-04-24 Thread Nicole Amashta
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

RE: [PHP-WIN] re: $POST vars

2002-04-24 Thread Mike Flynn
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

RE: [PHP-WIN] re: $POST vars

2002-04-24 Thread Matt Babineau
: 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

RE: [PHP-WIN] re: $POST vars

2002-04-24 Thread Eduards Cauna
>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

RE: [PHP-WIN] re: $POST vars

2002-04-24 Thread Matt Babineau
]] 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

RE: [PHP-WIN] re: $POST vars

2002-04-23 Thread Scott Hurring
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

Re: [PHP-WIN] re: $POST vars

2002-04-23 Thread Ross Fleming
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

[PHP-WIN] re: $POST vars

2002-04-23 Thread Matt Babineau
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: [EMAIL PROTECTED] p: 6