Re: Self calling form not working.
- From: carlton <carlton@xxxxxxxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 22:13:34 +0100
Rik wrote:
carlton wrote:Changes all $guess to $_POST['guess'] and everything works fine.
I have tried to run this simple self calling script, but each time it
calls its self I always get the "Value of guess not set." message.
Any ideas on the problem?
if (!isset($guess))
<FORM ACTION="selfcall.php" METHOD="POST">
Type our guess here:<INPUT TYPE="TEXT" NAME="guess">
</FORM>
You probably have either an old book or at least an old example (we hope
so):
http://nl3.php.net/manual/en/security.globals.php
The value should be accessed like $_POST['guess']
Grtz,
The example was from 1998, and obviously not best practice. Thanks for the tip.
Carlton
.
- References:
- Self calling form not working.
- From: carlton
- Re: Self calling form not working.
- From: Rik
- Self calling form not working.
- Prev by Date: Re: Self calling form not working.
- Next by Date: Re: Mail que system written in PHP for Linux?
- Previous by thread: Re: Self calling form not working.
- Index(es):