Re: [PHP] how to read the path of the current document's url

2005-01-09 Thread Curt Zirzow
* Thus wrote Tim Burgan: > 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. How are you using parse_url()? $_SERVER['REQUEST_

[PHP] how to read the path of the current document's url

2005-01-08 Thread Tim Burgan
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