Posted by Fabio on 08/26/07 16:53
Hi,
I have the localhost physical path that is
E:\www\testproject\
and __FILE__ that is
E:\www\testproject\subdir\file.php
Now I'd like to get the relative directory of file.php to the localhost
path:
/subdir
How can I get it?
It should be simple but I cannot find how :(
Thanks!
Navigation:
[Reply to this message]
|