Re: [PHP] Register globals when option is turned on

2001-01-18 Thread Carsten Gehling

From: "Ignacio Vazquez-Abrams" [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 11:33 PM


 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.

Hmmm... Can you exlpain it a bit more? Cause I frankly don't understand what
mean ;-)

BTW: You may want to know that I run Win2k and IIS 5.0, not Linux/Apache

- Carsten



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Register globals when option is turned on

2001-01-17 Thread Carsten Gehling

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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Register globals when option is turned on

2001-01-17 Thread Ignacio Vazquez-Abrams

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  [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]