Reply to Re: relative path / absolute path

Your name:

Reply:


Posted by Andy Jeffries on 06/19/06 07:25

On Sun, 18 Jun 2006 20:18:19 -0400, Jerry Stuckle wrote:
>>>The easiest way I've found is to just use absolute URL's for the images
>>>- i.e.
>>>
>>> <img src="/images...">
>>>
>>>Works everyplace on the site and you don't need to include extra files.
>>
>> I've always found a problem with that when working offline. How do you
>> get around that?
>>
> Don't know what problem you would have, unless you're trying to load the
> file directly instead of through a webserver.
>
> I always use a webserver for testing, though. Even have one going on my
> main development system.

Exactly, particularly as this is a PHP newsgroup - the next complaint will
be "when I work offline, my PHP doesn't execute, it just prints the
source code" :-)

Cheers,


Andy

--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

[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

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