Re: Overriding configuration variables with standalone PHP
| From: | Sameh Ghane | Date: | Mon, 17 Jun 2002 13:32:29 +0000 |
| Subject: | Re: Overriding configuration variables with standalone PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102506@lists.php.net to get a copy of this message | ||
Le (On) Mon, Jun 17, 2002 at 03:23:55PM +0200, Sameh Ghane ecrivit (wrote):
>
> Is there a way to specify configuration variables during the script, like with
> set_magic_quotes_runtime() ? My aim goal is to deactivate register_globals in
> this particular directory, but it could be any php directive.
Sorry for the dumb question, it was much easier than I thougt:
I knew about init_get(), but not ini_set(), which someone pointed out to me.
Cheers,
--
Sameh