RE: [PHP] Pls Help: Moving script from Win to Linux
| From: | Craig Thomas | Date: | Tue, 10 Dec 2002 19:49:03 +0000 |
| Subject: | RE: [PHP] Pls Help: Moving script from Win to Linux | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127710@lists.php.net to get a copy of this message | ||
>>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:php-general@gremlins.biz]
>>Sent: Tuesday, December 10, 2002 2:04 PM
>>To: php-general@lists.php.net
>>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
>>
>>