You are here: Absolute or relative paths « PHP Programming Language « IT news, forums, messages
Absolute or relative paths

Posted by michelle on 07/09/05 18:46

Hi all,

I am having trouble using with using paths on my website. Is there a
way to use an absolute path that always refers to the website's root
directory...or do I need to use a relative path?

The problem I am having is how to refer to my "/images" directory no
matter where it is referenced in the website's directory structure.

I have used the URI (http://www.mysite.com/images), but that seems too
complex, especially if I needed to reference other directories. I know
that PHP must have a simpler solution.


Thank you in advance,

Miki

 

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

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