It's not $PHP_SELF that's the issue here -- well it was probably blank because either 
register_globals is off or you were in a function and didn't global it.  The real 
trouble is that. IE < v6.0 is forgiving and if the action="" is blank sends the 
request to the current page. So you feel comfy and think all is well, when in fact you 
have an empty action on your form.  Incidentally, Microsoft changed this and I.E. 6.0 
behaves just like Netscape 4.7.

> -----Original Message-----
> From: Steven Walker [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, March 14, 2002 1:52 PM
> To: Jeff Bearer
> I just had this problem!
> Using $PHP_SELF did not work with Netscape 4.7 for some reason. I was 
> using it in form submissions and kept getting the error 'Method Not 
> Allowed'. My fix was simple, I just hard coded the action url since.

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to