Re[3]: [PHP] still problems with register globals set to on

From: Date: Wed, 21 Aug 2002 13:02:01 +0000
Subject: Re[3]: [PHP] still problems with register globals set to on
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-113441@lists.php.net to get a copy of this message
Hi, Wednesday, August 21, 2002, 10:53:48 PM, you wrote: TR> Hi, TR> Wednesday, August 21, 2002, 9:32:43 PM, you wrote: A>> thanx tom, but this doen not seem to have anything to do with it. A>> Regards, A>> Andy A>> "Tom Rogers" <trogers@kwikin.com> schrieb im Newsbeitrag A>> news:3652467474.20020821175550@kwikin.com... >>> Hi, >>> >>> Wednesday, August 21, 2002, 5:34:35 PM, you wrote: >>> A> Hello everybody, >>> >>> A> I am still having problems to run php scripts inside a directory with >>> A> register globals on. >>> >>> A> This is what I did put inside the httpd.conf file right after the A>> <Directory >>> />> close tag. >>> >>> A> <Directory "/home/www/oasis"> >>> A> php_value register_globals on >>> A> </Directory> >>> >>> A> It does not change anything. I restarted apache of course. >>> >>> A> Do u have an idea where the error could live? >>> >>> A> Andy >>> >>> >>> A> "Rasmus Lerdorf" <rasmus@php.net> schrieb im Newsbeitrag >>> A> >>> A> news:Pine.LNX.4.44.0208191401090.31257-100000@www.lerdorf.com... >>> >> Sure, turn register_globals on only for the oasis directory. In your >>> >> httpd.conf add: >>> >> >>> >> <Directory /some/path/oasis> >>> >> php_value register_globals on >>> >> </Directory> >>> >> >>> >> -Rasmus >>> >> >>> >> On Mon, 19 Aug 2002, Andy wrote: >>> >>> >>> You may need to add in the directory section (never used it so it is a >>> guess) >>> >>> AllowOverride Options >>> >>> -- >>> regards, >>> Tom >>> TR> I eventually got it to work with the following: TR> <Directory "/usr/local/apache/domains/whatever/www/admin"> TR> AllowOverride All TR> Order allow,deny TR> Allow from all TR> php_flag register_globals on TR> </Directory> In the httpd.conf you can get away with just: <Directory "/usr/local/apache/domains/whatever/www/admin"> php_flag register_globals on </Directory> -- regards, Tom

« previous php.general (#113441) next »