Re: php.ini version changed, code broke
| From: | Gerry Danen | Date: | Thu, 09 Feb 2006 01:37:29 +0000 |
| Subject: | Re: php.ini version changed, code broke | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230133@lists.php.net to get a copy of this message | ||
You should use $_POST...
On 2/8/06, Tom@JeffsComputerService.com <tom@jeffscomputerservice.com> wrote:
> Hello all from a newbie. We have a Nitix server (from Net Integration
> Technologies, Inc.) that hosts various web site. Recently they released a
> software upgrade, and in the release notes was this warning:
>
> "A number of PHP options (in the php.ini file) were changed, either to
> improve security or to more closely follow the recommendations of the PHP
> developers. This should make it easier to run third-party PHP packages on
> Nitix, but could break existing installations that have been adapted for
> Nitix."
>
> After installing this release, the simplest of all simple things would no
> longer work - a basic HTML menu with 6 choices passed to a PHP script that
> prints out the selection chosen by the user!! The variable name when
> printed (echo'd) in the PHP script was empty.
>
> The HTML:
>
> <form name="form1" method="post" action="a.php">
> <select name="aName" size="1" id="select">
> <option>Deb</option>
> <option>Frank</option>
> <option>Jeff</option>
> <option>Lynne</option>
> <option>Nick</option>
> <option>Tom</option>
> </select>
> <input type="submit" name="Submit" value="Submit">
> </form>
>
> The PHP:
>
> <?php
>
> echo $aName . "ttt";
>
> ?>
>
> What displays??? Just ttt of course. What exactly could have changed to
> make this simple script fail?