Reply to Re: Absolute or relative paths

Your name:

Reply:


Posted by Jim Moe on 10/08/07 17:32

On 10/08/07 02:10 am, Peter Smith wrote:
>
> I've noticed that some websites use absolute paths when linking to local
> files, e.g. '/', '/style.css, '/images/logos/header.gif' etc., which has
> the advantage that pages in subdirectories can use the same paths as
> pages in the root, but also has the disadvantage that the site has to be
> developed in the root folder (htdocs) rather than a subdirectory
> (htdocs/myproject).
>
I have found using the "absolute" method the easiest to maintain. It
makes it simple to have a local copy of the site for development then
upload the changes without having to modify the paths.
Putting multiple site in the same root is less than optimal for
management. Give each site its own root.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

[Back to original 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

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