Re: [PHP] still problems with register globals set to on
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 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 [EMAIL PROTECTED] schrieb im Newsbeitrag A [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] still problems with register globals set to on
thanx tom, but this doen not seem to have anything to do with it. Regards, Andy Tom Rogers [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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 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 [EMAIL PROTECTED] schrieb im Newsbeitrag A [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] still problems with register globals set to on
Are you sure you are editing the right httpd.conf file first of all? Put an obvious syntax error in there, such as misspelling Directory in that tag and see if you get an error. If so, make sure that this Directory block is not inside some other tag, or overridden by a second Directory block somewhere. Third, are you sure you are using PHP as an Apache module? If you are using the CGI version, the this will obviously not work. -Rasmus On Wed, 21 Aug 2002, Andy wrote: thanx tom, but this doen not seem to have anything to do with it. Regards, Andy Tom Rogers [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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 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 [EMAIL PROTECTED] schrieb im Newsbeitrag A [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php