What Is The Php Require Absolute Path? Relative Path



What Is The Php Require Absolute Path? Relative Path
What Is The Php Require Absolute Path? Relative Path
Post Description:
Post Tags: what, is, the, php, require, absolute, path, relative, path
This Post Has Been Viewed 2211 Times Since Sun Mar 11, 2007 12:26 pm Posted By wallpaperlinks with 1 replies
What Is The Php Require Absolute Path? Relative Path
can you tell me what is the php require absolute path please. Thanks

Leave Your Comments     [ dejar commentarios ]
  * Name     [nombre]

  * eMail (will not be published)     [coreo electronico]

* Enter Your Reply or Comments:    [commentarios]


Add Picture To Comments         [incluir foto]
YES NO             upload
Receive Replies on my Comments (An email will be sent to you when someone replies to your comments)

     

Comments and replies About What Is The Php Require Absolute Path? Relative Path




:: 1 :: #781 - Reply By asbolut On Sun Mar 11, 2007 12:27 pm
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.