Re: register_globals problem
| From: | Bogdan Albei | Date: | Wed, 03 Dec 2003 19:57:10 +0000 |
| Subject: | Re: register_globals problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171711@lists.php.net to get a copy of this message | ||
Jay Blanchard wrote:
[snip] 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. [/snip] Actually info.php works in IE and reports register_global is ON locally (within that directory). Therefore, as I stated earlier, it is not a PHP problem. It is either an Apache configuration problem or a problem within the HTML/CSS/JavaScript code that is hanging IE. I have seen both CSS and JavaScript do this behavior.If I create an PHP environment such that I don't need to override register_globals and error_reporting with a .htaccess file it works just fine, so I guess the problem is in the .htaccess file. I posted my httpd.conf file at http://e-technics.com/dorna/httpd.conf. If I comment the lines <Directory "/usr/local/apache/htdocs/dorna"> AllowOverride All </Directory> that makes the override possible, the page works fine, but I don't have register_globals and error_reporting as I want them.