Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What does a “relative”, “absolute”, “file system”, “document root” path mean?

mean path
0
Posted

What does a “relative”, “absolute”, “file system”, “document root” path mean?

0

• Relative means relative to the directory for the current page. For example, when placing the TalkBack include statements in your HTML page, if your page is: • in the talkback directory the path will be ‘comments.php’, ‘head-inc.php’ • in the root html directory the path will be ‘talkback/comments.php’, ‘talkback/head-inc.php’ • in a sub directory the path will be ‘../talkback/comments.php’, ‘../talkback/head-inc.php’ ../ means go up one directory ../../ means go up two directories, etc. The document root path is the path from your server root directory to the directory that contains your HTML. On a Linux system it will look something like: /home/YourUserName/htmlDirectoryName/ Absolute path and file system path both mean the path from your server root directory to a particular directory, sub directory or file on your server. For example, the absolute path for comments.php on a Linux server will be something like: /home/YourUserName/htmlDirectoryName/talkback/comments.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123