Johnny wrote:

Hi Thodoris,

In my opinion, the best use is to include your file with relative urls, like :
<img src="/path/to/img.jpg" />

I believe that it best.
Including the hostname use to cause a dns lookup in some browsers which made it slower but I don't believe that is the case anymore.

Doing the full path relative to document root though means it does not break when you move the page in your hierarchy.

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to