getting file location
| From: | Grega Leskovsek | Date: | Wed, 27 May 2009 11:03:16 +0000 |
| Subject: | getting file location | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-293198@lists.php.net to get a copy of this message | ||
I have made a CMS with editing files. When I display the file name it
shows something like "../subdir/filename.php"
How can I display the actual filename that's on the web: like
http://localhost/subdir/filename.php or even
better if it is possible:
http://domainname/subdir/filename.php ?
Thanks in advance, Grega from Slovenia
--
When the sun rises I receive and when it sets I forgive ->
http://users.skavt.net/~gleskovs/
All the Love, Grega Leskov'sek