Hi Davy,

I found the following in the php manual:

Please note that register_globals cannot be set at runtime (ini_set()). Although, you 
can use .htaccess if your host allows it as described above. An example .htaccess 
entry: php_flag register_globals on.

on this page: http://www.php.net/manual/en/configuration.directives.php

I've also used this format in apache conf files and, I believe, in .htaccess files:
        php_value include_path /web/lib/php:.


Daniel


At 7:52 AM +0100 on 1/30/03, 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:[EMAIL PROTECTED]
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php


-- 

Daniel Leighton
Chief Technology Officer
Webolution
http://www.webolution.com

     This email may contain material that is confidential and privileged for the
sole use of the intended recipient.  Any review, reliance or distribution
by others or forwarding without express permission is strictly prohibited.
If you are not the intended recipient, please contact the sender and delete
all copies.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to