Wallpapers Forums Login

What Is The Php Require Absolute Path? Relative Path

can you tell me what is the php require absolute path please. Thanks
asbolut Sun Mar 11, 2007
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.



Related Content

Information

Share

wallpaperama | Wallpapers | Forums | Terms Of Service

copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5