Echo $PHP_SELF not working
| From: | Jeff McKeon | Date: | Fri, 10 Oct 2003 12:08:56 +0000 |
| Subject: | Echo $PHP_SELF not working | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-165726@lists.php.net to get a copy of this message | ||
I've just published a new website and something is wrong. I suspect the
PHP.ini on the server but I can't seem to find anything.
The line:
<form method='post' action='<?PHP ECHO $PHP_SELF ?>'>
Doesn't seem to work. If I look at the "view source" from the web
browser I see this..
<form method='post' action=''>
On the development server I see this...
<form method='post' action='/auth_user.php'>
On the dev server "ECHO $PHP_SELF" seems to work but not on the
production one. Any ideas what I've missed?
Thanks,
Jeff