Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Simon Lee
December 5, 2005, 4:41 am
rate this thread
My php webpages can be ruun normally, However, when they are moved to the
other server with Redhat 9, some following problems about php will occur,
1. when the webpage is linked to other page
the "item" variable "Aboutus" is no longer valid, Why? How to tackle such
Does the new version of php no longer support such function,
Re: PHP problem for redhat 9
This is by far the most common question about php. It is asked on daily
basis in php-related forums. The thing is, as you suspected, that they've
changed the functionality of that feature. The variables no longer exist by
default, but you use $_REQUEST, $_POST and $_GET to read them. so instead of
$item, you'd use $_GET['item'] in your code. to read more about it, see
http://fi.php.net/register_globals and to change it back the way it worked
in the old server, edit the register_globals setting in your php.ini...
SETI @ Home - Donate your cpu's idle time to science.
Further reading at <http://setiweb.ssl.berkeley.edu/