Re: Variables not passed on localhost setup [FIXED]

From: Date: Wed, 01 Oct 2003 18:22:30 +0000
Subject: Re: Variables not passed on localhost setup [FIXED]
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-164596@lists.php.net to get a copy of this message
Thank you all so much! That sorted it! Cheers! I didn't see that before because I'm blind. Metorphorically speaking. Put it down to code-blindness from staring at the screen too long. Weird thing is, my searches took me to http://www.php.net/configuration, which didn't mention the moving ini file thing. That page told me about the location being a compile time option. I'll check up on the security implications. Unfortunately for me, this is the way I was taught PHP. I'll have to rethink things I suppose! I'll brush my teeth, too. Want 'em all nice and sparkly! Thanks again, you guys are so helpful! Greg CPT John W. Holmes wrote:
From: "Gal" <gal@freeshell.org>
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
(and restart your web server) (and make sure you understand the security implications that may arise from having globals on and poorly written code) (and brush your teeth) ---John Holmes...


« previous php.general (#164596) next »