Re: [PHP] Relative URLs

2005-02-21 Thread Justin French
Pedro, Something has got to give somewhere. You can't have all those requirements without some sort of trade off -- especially if you're dealing with some sort of CMS or with content entered by some non-technical writers. The common solution is to use PHP to write the links for you in some wa

[PHP] Relative URLs

2005-02-21 Thread Pedro Fayolle
Hi, I wanted to gather opinions on what method is best for dealing with relative URLs (i.e. in HTML links) on complex, multi-level directory structures. Here's what I have so far... Goals: 1. Simpliest possible management of relative URLs. 2. Be able to move the entire site from one directory t