Re: Re: How to set register_globals=off in the script?
| From: | Jason Wong | Date: | Tue, 21 Dec 2004 23:49:17 +0000 |
| Subject: | Re: Re: How to set register_globals=off in the script? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204901@lists.php.net to get a copy of this message | ||
On Wednesday 22 December 2004 05:08, Jason Barnett wrote:
> Jerry Swanson wrote:
> > So I want to keep PHP register_globals=on in php.ini, but in local
> > files set to off?
> >
> > How I can do this?
>
> You can change this, and other php.ini directives, with the PHP function
> ini_set
No you can't. Well you can change it but it'll have no effect. Read manual on
ini_set() to see what can be changed and *where* it can be changed.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
The only difference in the game of love over the last few thousand years
is that they've changed trumps from clubs to diamonds.
-- The Indianapolis Star
*/