Re: register_globals and magic_quotes_gpc (again)

From: Date: Thu, 07 Jun 2007 13:29:01 +0000
Subject: Re: register_globals and magic_quotes_gpc (again)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-256308@lists.php.net to get a copy of this message
Tijnema wrote:
On 6/7/07, Afan Pasalic <afan@afan.net> wrote:
hi, this question is already posted thousand times. but, after I tried for 2 hours to figure it out, I gave up and posted the question here. I'm rebuilding one site. php 4.4.4 as usual, register_globals on, as well as magic_quotes. I tried to turn it off using .htaccess but what ever I change in the (already existing) file, I would get 500 Internal Server Error this is content of the .htaccess file: # -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName mkl1332 AuthUserFile /u/web/afan/_vti_pvt/service.pwd AuthGroupFile /u/web/afan/_vti_pvt/service.grp and I tried to add php_flag register_globals Off and it doesn't work (500 internal server error) I tried with register_global 0 - same thing. could you please point me where to look after? thanks for any help. -afan
Are you sure the rest of your .htaccess file is correct? And what does your Apache error log show you? there should be an error... Tijnema The .htaccess file is "original", from hosting company, pre-installed.
I can't access to apache error log. -afan

« previous php.general (#256308) next »