php-general | 2001122
Date: 12/19/01
- Next message: Chris Lee: "[PHP] Re: session destroy ??"
- Previous message: Darren Gamble: "RE: [PHP] regular expression: THANK YOU!!!!!!"
- In reply to: Caleb Carvalho: "[PHP] $PHP_SELF not working -please help"
- Next in thread: Alawi: "[PHP] Re: $PHP_SELF not working -please help"
- Maybe reply: Alawi: "[PHP] Re: $PHP_SELF not working -please help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Now for some strange reasons it tries to access my web direcorty that
> does not contain any file, and i get the 404 page not found error.
>
check the source code of the html page. most likely you will see:
<FORM ... ACTION="">. if not, it will still give you a hint about what's
going wrong.
are you constructing that form within a function? then you have to pull
the $PHP_SELF variable into the local context. put 'global
$PHP_SELF;' at the top of the form-outputting function.
phil.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Chris Lee: "[PHP] Re: session destroy ??"
- Previous message: Darren Gamble: "RE: [PHP] regular expression: THANK YOU!!!!!!"
- In reply to: Caleb Carvalho: "[PHP] $PHP_SELF not working -please help"
- Next in thread: Alawi: "[PHP] Re: $PHP_SELF not working -please help"
- Maybe reply: Alawi: "[PHP] Re: $PHP_SELF not working -please help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

