Jump to content

URL Help


Baving

Recommended Posts



Those urls refer to locations on the webserver which holds the web content you are attempting to access. So, the webpage http://www.notadomain.net/news/uk/index.html is located on some server in the directory

DOCUMENT_ROOT/news/uk/

Now, if the HTML link only has "news/uk/" then it is linking to a directory relative to the present working directory. In other words, if you saw a link "news/uk/" on the site http://www.notadomain.net/ the link would take you to http://www.notadomain.net/news/uk/ where the index.xxx file would be loaded, or a directory browser if that is accessible.
Link to comment
https://forums.phpfreaks.com/topic/26713-url-help/#findComment-122197
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.