Register globals on and off
| From: | Davy Obdam | Date: | Thu, 30 Jan 2003 06:52:31 +0000 |
| Subject: | Register globals on and off | ||
| Groups: | php.general php.windows | ||
| Request: | Send a blank email to php-windows+get-18208@lists.php.net to get a copy of this message | ||
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