>>Can't be done at run-time. See table in manual.

Perhaps "programmatically" was the wrong word.  

Using .htaccess files it can be set per directory/site. 

http://www.php.net/manual/en/security.registerglobals.php

(read to the BOTTOM of the page).  

-Craig



>>-----Original Message-----
>>From: Jason Wong [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, December 10, 2002 2:04 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: [PHP] Pls Help: Moving script from Win to Linux
>>
>>
>>On Wednesday 11 December 2002 02:38, Craig Thomas wrote:
>>> If you do not want to re-write all your code and your web 
>>server is Apache
>>> and your host allows the use of .htaccess files you can turn
>>> register_globals = on programmatically:
>>>
>>> 
>>http://www.php.net/manual/en/configuration.directives.php#ini.regi
>>ster-glob
>>>a ls
>>>
>>> (php_flag register_globals = ON;) i think.
>>

>>
>>-- 
>>Jason Wong -> Gremlins Associates -> www.gremlins.biz
>>Open Source Software Systems Integrators
>>* Web Design & Hosting * Internet & Intranet Applications Development *
>>
>>/*
>>A government that is big enough to give you all you want is big enough
>>to take it all away.
>>              -- Barry Goldwater
>>*/
>>
>>
>>-- 
>>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

Reply via email to