Re: Full versus relative URLs

From: Date: Tue, 17 Feb 2009 17:06:50 +0000
Subject: Re: Full versus relative URLs
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-288449@lists.php.net to get a copy of this message
But that's where mistakes are often made. It also means you need to maintain a different live version to that of your development version. If find it much easier to have relative paths and then there's no build process needed to go live, I can just upload it. 2009/2/17 Michael A. Peters <mpeters@mac.com>: > Virgilio Quilario wrote: > >> The difference is in manageability. >> Copying the scripts to another domain and you're using full url for >> your src and href when referring to local images or css or pages, will >> give you trouble and you must change all of them to your new domain. > > which takes about 3 seconds to do with sed. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#288449) next »