You are here: How to get the path from localhost? « PHP Programming Language « IT news, forums, messages
How to get the path from localhost?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация