Reply to Re: Strange IMG problem with IE

Your name:

Reply:


Posted by Toby Inkster on 07/31/06 06:57

dorayme wrote:

> The things I don't know! I use "this.html" to stay in the same
> directory and "this.html" to really stay in the same directory

You should use "./this.html" to really stay in the same directory.

> and "this.html" to really really stay in the same directory

For that purpose, try "././this.html".

There's also "./././this.html" to really really really stay in the same
directory.

> But I have now learnt something new from you... who would have
> thought one dot would mean something?

Anyone who knows a little about UNIX (and indeed Windows) directory
structure should know that every directory (except the root one) contains
two special subdirectories:

. (a reference back to itself)
.. (a reference to its parent)

so "cd ." does nothing, as does "cd ././.". (The root directory doesn't
contain "..", but does still contain ".".)

The main important use of links starting with "./" is relative linking
from, say:

http://www.example.org/foo/bar.html to
http://www.example.org/foo/

where you'd simply write '<a href="./">Foo</a>'.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

[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

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