how to read the path of the current document's url
| From: | Tim Burgan | Date: | Sun, 09 Jan 2005 06:17:14 +0000 |
| Subject: | how to read the path of the current document's url | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-205893@lists.php.net to get a copy of this message | ||
Hello,
I have a page where the URL is along the lines of http://www.example.com/test.php
I've tried using the parse_url() function without success.. I'm trying to just get "test.php" returned as a string.
Can someone please point me in the right direction with this.
Thank you for your time.
Tim