Chapter 3 in the PHP manual covers setting PHP configuration directives via
the .htaccess file.
I use this to enable register globals where needed so that I can keep it off
for the scripts that do not depend on them.
Jason
-Original Message-
From: Jeff Bearer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 3:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP] apps that need register globals 'on' and others require
'off' on same server
I have a server where I'm running some third party apps.
until now I've had register globals 'on', now I have a new app that
requires register globals 'off' for it to work, if I change the php.ini
to off then it breaks some of the other applications.
Is there a way to turn register globals on or off in the script at
runtime?
--
Jeff Bearer, RHCE
Webmaster
PittsburghLIVE.com
2002 EPpy Award, Best Online U.S. Newspaper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php