Re: Full versus relative URLs

From: Date: Mon, 16 Feb 2009 19:54:34 +0000
Subject: Re: Full versus relative URLs
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-288361@lists.php.net to get a copy of this message
>> So put it all in one place: >> >> <?php >> include "path.inc"; >> print"<a href=\"$path/dir/file.php\">"; >> ?> >> >> Full URLs don't break when users save the pages to disk. > > That would be fine if the pages weren't being crafted in Dreamweaver, > where inserting links like that is a pain. > For that you'd have to ask on the Dreamweaver list. I don't really like those tools. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü

« previous php.general (#288361) next »