php.ini version changed, code broke

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux