PHP problem for redhat 9

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Dear all,

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  
problem them?
Does the new version of php no longer support such function,


Re: PHP problem for redhat 9

Quoted text here. Click to load it

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 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 <

Site Timeline