You are here: Re: Self calling form not working. « All PHP « IT news, forums, messages
Re: Self calling form not working.

Posted by carlton on 07/17/06 21:13

Rik wrote:
> carlton wrote:
>
>>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,
Changes all $guess to $_POST['guess'] and everything works fine.
The example was from 1998, and obviously not best practice. Thanks for
the tip.
Carlton

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация