RE: [PHP] Echo $PHP_SELF not working
| From: | Daniel Perez Clavero | Date: | Fri, 10 Oct 2003 12:44:36 +0000 |
| Subject: | RE: [PHP] Echo $PHP_SELF not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165740@lists.php.net to get a copy of this message | ||
try to use $_SERVER['PHP_SELF'] instead of.
-----Original Message-----
From: Jeff McKeon [mailto:jmckeon@telaurus.com]
Sent: viernes, 10 de octubre de 2003 14:09
To: php
Subject: [PHP] Echo $PHP_SELF not working
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php