Lasso Soft Inc. > Home

[ web_request->documentRoot ]

Method

The [web_request->documentRoot] method returns the path to the web-root of the server.

  • Syntax
web_request->documentRoot
Examples
  • Beginner

Get the path to the web-root

The following code will display the path to the server's web-root. For this example, we'll assume that the default web-root for Mac OS X.

Code

web_request->documentRoot

Result

/Library/WebServer/Documents

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft