ok, i am going to try to explain this as simple as i can possibly can, i know this was hard for me to grasp at the beginning, but i am going to try to teach you what is the difrences Between Absolute Path and Relative Path.
When you create hyperlinks in a web document, you have two options. You can define an absolute or relative path to the target object. While there is only one way make an absolute link path, there are two options when using relative paths. First, and most often used, is a document relative path, and second is a root relative path.
Absolute Paths
example: http://www.webune.com
An absolute path is created whenever your link uses the full URL of an object or page. For instance, http://www.webune.com is an absolute path to a specific web site. This method is the best choice whenever you need to send a visitor to another site or need to get content from another site. While you can use it within your own site, there is rarely ever a need to do so.
Relative Paths
example: images/folder/image.jpg
In the example above, the relative path to http://www.webune.com/images/folder/image.jpg is images/folder/image.jpg As you can probably guess by now, relative paths are used much more frequently than absolute paths. Any time you need to send a visitor to another page within your site or include an object from your site (like an image) on one of your pages a relative link will work just fine. Which form of relative link you should use will depend on how the site is constructed. Document and root relative paths each have a place in the building of a web site. Read on for a break down of each type.
What Is The Difrences Between Absolute Path And Document Relative Path
What Is The Difrences Between Absolute Path And Document Relative Path
What Is The Difrences Between Absolute Path And Document Relative Path
Post Description:
Post Tags: what, is, the, difrences, between, absolute, path, and, document, relative, path, free php support, php scripts, php questions, php answers, programming, codes, scripts
This Post Has Been Viewed 1742 Times Since Wed Jan 31, 2007 1:58 pm Posted By chan with 2 replies
Post Description:
Post Tags: what, is, the, difrences, between, absolute, path, and, document, relative, path, free php support, php scripts, php questions, php answers, programming, codes, scripts
This Post Has Been Viewed 1742 Times Since Wed Jan 31, 2007 1:58 pm Posted By chan with 2 replies
| What Is The Difrences Between Absolute Path And Document Relative Path |
Leave Your Comments
Comments and replies About What Is The Difrences Between Absolute Path And Document Relative Path
:: 1 :: #354 - Reply By linux fan On Tue Feb 13, 2007 10:54 pm
this is a great tutorial guide step by step to show you how to learn what are the differences between absolute and relative paths
:: 2 :: #2543 - Reply By shraddha v. patkar On Sun May 06, 2007 5:07 am
i liked your views regarding difference between absolute and relative path.