Yes. Either via a .htaccess file or in your httpd.conf in a Directory
entry put this:

php_value register_globals on

See the following URL's for more info:

http://www.php.net/manual/en/configuration.changes.php
http://www.php.net/manual/en/function.ini-set.php

-Dash

AQUARIUS (Jan 20 - Feb 18)
        You have an inventive mind and are inclined to be progressive.
        You lie a great deal.  On the other hand, you are inclined to
        be careless and impractical, causing you to make the same
        mistakes over and over again.  People think you are stupid.

On Thu, 30 Jan 2003, 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 Windows 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

Reply via email to