Re: Re: isset
| From: | vins | Date: | Tue, 09 Jul 2002 22:45:06 +0000 |
| Subject: | Re: Re: isset | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106610@lists.php.net to get a copy of this message | ||
oh ok.....
that is easy to forge then....
try the script that i wrong earliers... it's must safer.
"Preston Wade" <Preston_Wade@hilton.com> wrote in message
news:0B2759D401C1D211ACA500805FFE2C3F0636758C@cmxserv3.hilton.com...
> Actually here is what I am trying to do.
>
> <?php
> if (isset($submit)) {
> echo "Submitted!";
> }
> ?>
>
> <form action="<?=$PHP_SELF ?>" method="post">
> blah, blah
> <input type="submit" name="submit" value="Submit">
> </form>
>
>
> > -----Original Message-----
> > From: vins <vins@webonline.co.za>@INTERNET@HHC
> > Sent: Tuesday, July 09, 2002 5:35 PM
> > To: php-general@lists.php.net
> > Subject: [PHP] Re: isset
> >
> > i think what you're trying to do is
> >
> > <?php
> > if($REQUEST_METHOD == "POST")
> > {
> > echo "Form has been submitted.";
> > exit;
> > }
> > else
> > {
> > echo "Display the form that has to be submitted.':
> > exit;
> > }
> > ?>
> >
> >
> > "Preston Wade" <Preston_Wade@hilton.com> wrote in message
> > ͳE�±¼3’�²
> > vÕôænews:0B2759D401C1D211ACA500805FFE2C3F06367588@cmxserv3.hilton.com...
> > > Hello All,
> > >
> > > I am trying to use the isset function to test if the page has been
> > > submitted, but it seems as though it is not working. I am wondering
is
> > > there a configuration option that is messing with the functionality of
> > > isset.
> > >
> > > Any help would be appreciated.
> > >
> > > Thanks,
> > > Preston Wade
> > >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>