Reply - this means your php is running on php defaults configuration. you need to copy the 'php.ini-dist' file as 'php.ini' to c:\windows. edit the the file 'C:\windows\php.ini' and change register_globals = Off to register_globals = On
Greg Watson wrote:
Thank you for that answer! That worked perfectly!
That leads me to another query, again, which I have searched for...
I'd like to be able to switch Register_Globals ON, but I can't find my php.ini file.
Running phpinfo(); tells me that my 'php.ini' file is stored in C:\WINDOWS, but it's not there. I've ran a file search and still can't find it.
The only ones that appear are 'php.ini-dist' and 'php.ini-recommended' which live in the installation directory. I followed a tutorial to install PHP, which didn't say anything about specifying whether you have a php.ini file or not.
Any clue as to why I don't have one, and how I should get one? I installed PHP v4.3.3 on Apache 1.3.
Thank you again for your time, I appreciate it.
Greg Watson
CPT John W. Holmes wrote:
From: "Greg Watson" <[EMAIL PROTECTED]>
doesn't look as
though variables are being passed from page to page.
Register_globals is OFF in your php.ini file, so you need to use $_GET['testvar'] instead of $testvar.
---John Holmes...
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php