Re: Register globals on and off
| From: | Davy Obdam | Date: | Fri, 31 Jan 2003 00:42:42 +0000 |
| Subject: | Re: Register globals on and off | ||
| References: | 1 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-general+get-133718@lists.php.net to get a copy of this message | ||
Thanks for your reactions guys, I stil havent been able to get it to work... I have added a .htaccess file into my directory that needs the register globals on, containing
php_value register_globals on
And i have chanched AllowOverride None to all in the httpd.conf file, and restarted my webserver... But its stil not working. I am i doing something wrong? Thanks for your time...
Best regards,
Davy Obdam
mailto:info@davyobdam.com
Davy Obdam wrote:
Hello people, On my development machine (win XP/Apache 2.0.44/PHP 4.3.0/MySQL 3.23.55) i have several websites that i made some time ago that require register globals to be On in the php.ini. Ofcourse i know thats not a good idea at all for security, but rewriting all this code is not an option. However in my php.ini i have set register globals to Off because that better. Is it possible to configure my webserver/php so that only those sites that require register globals to be On have that setting, for instance in a .htacces file?? Any help is appreciated:-) Best regards, Davy Obdam mailto:info@davyobdam.com-- -------------------------------------------------------------------- Davy Obdam - Obdam webdesign© mailto:info@davyobdam.com web: www.davyobdam.com --------------------------------------------------------------------