You are here: Re: relative path / absolute path « PHP Programming Language « IT news, forums, messages
Re: relative path / absolute path

Posted by Chung Leong on 06/19/06 04:24

Jan Thomä wrote:
> Well to be on the safe side use absolute paths, this will definitely work.
> To keep your scripts maintainable, make a configuration file where you will
> put the paths in. E.g
>
> config.php
>
> $IMG_BASE_URL="http://www.my-domain.com/images/";

If you have ever had to use a reverse-proxy on a web application, you'd
realize what an evil absolute paths are.

 

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

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