Heh, sorry about that.. one more thing, php_flag is only for bollean values, this should work:
php_flag register_globals on php_value error_reporting "2039"
-----Original Message----- From: Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 9:10 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] register_globals problem
The only problem I see with that is that you're using the constants E_ALL and E_NOTICE in the .htaccess file. You can't use constants there, you need to use the actual number. (2047 & ~8) == 2039:
php_flag register_globals 1 php_flag error_reporting "2039"
Chris
-----Original Message----- From: Bogdan Albei [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 4:43 AM To: [EMAIL PROTECTED] Subject: [PHP] register_globals problem
I have a webpage that needs to use some specific php.ini settings different from other php applications on my web server. I have created a .htaccess file with the following content:
php_flag register_globals 1 php_flag error_reporting "E_ALL & ~E_NOTICE"
It works fine, but only on Mozilla and Netscape. Internet explorer cannot process the content of this web page. The URL is http://e-technics.com/dorna/ .
Anyone knows the remedy for this strange behaviour?
Bogdan Albei eTechnics www.e-technics.com
-- 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
It doesn't work. After all a script that contains only phpinfo() (e-technics.com/dorna/info.php) works OK, but the webpage, which is a PhpNuke doesn't work.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php