Hi,

Matt Williams wrote:

> you could make your links absolute
> ie..
>
> /cat.html

Properly speaking, even this link is relative :-) (it is relative to the
document root of the web server). I like to call such links "impure relative"
links :-). I call links of the type "../cat.html" "pure relative" links ;-)

This type of a link will only work if you're always going to have your pages
served up by a web server (which may be true in your case).

I had wanted to do something similar as far as specifying the path was
concerned. However, in my case, I had to mirror the site on my hard disk and
then work on that too. Therefore, such "impure" relative links would not have
worked for me. I needed to have "pure" relative links so that the whole
structure of the site would hold together even when viewed off the hard disk.

A look at the mail (and the answer to it) titled "Finding the depth" in this
list might prove helpful.

--
Regards,
Harshdeep Singh Jawanda.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to