Note: You can view the full content of our pages on any browser or Internet device. However, our pages look best in browsers that support Web Standards.
You may find that variables are not correctly registering with the example scripts. An indication of this is when variables entered into forms are not being sent to the script after a form submission.
The PHP development team recently changed a default setting in the php.ini file in the latest versions of PHP 4. Previously, the configuration "register_globals" had always been set to "on" by default and the example scripts were written with the default install in mind. This configuration is set to "off" starting in PHP 4.2.0, and thus broke some aspects of the example scripts.
To get the example scripts working on versions of PHP 4.2.0 and greater, you must edit the configuration directive "register_globals" and set it to "On" in your php.ini file. For example:
register_globals = On
Restart your web server for the change to take effect.
The PHP team has stated that there may be security issues involved with setting register_globals to "On". You should study the security implications before using the example scripts, as coded, on a production web site. See http://www.php.net/manual/sv/security.registerglobals.php for more information on these security implications.