Re: Register globals when option is turned on
| From: | Ignacio Vazquez-Abrams | Date: | Wed, 17 Jan 2001 22:33:16 +0000 |
| Subject: | Re: Register globals when option is turned on | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35186@lists.php.net to get a copy of this message | ||
On Wed, 17 Jan 2001, Carsten Gehling wrote:
> Is there a way to programatically enable the register_globals option for a
> php-script?
>
> For certain reasons I have the register_globals option set to "Off".
> However, phpMyAdmin will not work unless it is set to "On" therefore, I
> thought of making a check in the "config.inc.php" if the option is set, and
> if not, set it.
>
> Is there a function that I can call?
>
> - Carsten
>
Ugh. Don't do it that way. Instead use <Directory>, <Location>, or .htaccess
to turn it on for phpMyAdmin.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>