getting name of current page
| From: | JJ Harrison | Date: | Sun, 25 Aug 2002 01:59:08 +0000 |
| Subject: | getting name of current page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-114016@lists.php.net to get a copy of this message | ||
using:
echo $_SERVER['PHP_SELF'].'?login=y';
returns:
/co2_busters_mk2/login.php?login=y
I want:
login.php?login=y
is there a different var that returns the page name? or is this a explode()
job?
--
JJ Harrison
webmaster@tececo.com
www.tececo.com
--
Please reply on the list/newsgroup unless the reply it OT.