Re[2]: [PHP] Get the current file name
| From: | Burhan Khalid | Date: | Sun, 27 Jul 2003 15:23:25 +0000 |
| Subject: | Re[2]: [PHP] Get the current file name | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157084@lists.php.net to get a copy of this message | ||
On Friday, July 25, 2003, 4:59:24 PM, Shaun wrote:
S> thanks for your reply,
S> but that doesn't seem to work either, how about removing everything after
S> and including the ?, how would i do that?
try echo basename($_SERVER['PHP_SELF'])
Please trim your posts :)
--
Regards,
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com