Re: [PHP] getting file location

2009-05-27 Thread Ashley Sheridan
On Wed, 2009-05-27 at 13:03 +0200, Grega Leskovsek wrote: > 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

[PHP] getting file location

2009-05-27 Thread Grega Leskovsek
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