View Single Post
  #6 (permalink)  
Old 09-05-2006, 04:54 PM
crdesign crdesign is offline
WebProWorld New Member
 

Join Date: Sep 2006
Posts: 14
crdesign RepRank 0
Default

This is why I never use relative urls or paths. With a relative path you must edit every instance of that code if you decide later to change a directory name or move the file somewhere else. With an absolute path this becomes less likely and your code is more portable. Especially if you code using variables in place of things like domain names, etc which may change if your code moves.
Reply With Quote