webhomesubfolder(
SUBPATH
)
The webhomesubfolder( function returns the folder ID of a subfolder of the web server’s home folder.
Parameters
This function has one parameter:
subpath – subpath within the web server’s home folder, or ""
to return the home folder itself.
Description
This function returns the folder ID of a subfolder of the web server’s home folder. For example if the subpath is “” then this function returns the folder ID of the folder that contains the web server’s home page. If the subpath is “Image” then it returns the folder ID of the images folder (if any) within the home folder. The subpath can be several levels deep, for example webhomesubfolder(“Images/GrandCanyon”)
See Also
- cgitest -- tests a CGI procedure.
- getcookie( -- returns the value of a cookie submitted to the server.
- getcookielist( -- returns a list of cookies submitted to the server.
- info("httprequestinprogress") -- returns true if this code is running on Panorama X Server, and the server is responding to a web client request.
- info("webclientsessioninprogress") -- returns true if this code is running on Panorama X Server, and the server is responding to a web client request.
- serverrunning( -- returns true if this code is running on a Panorama server, or false if it is running in single user mode or on a client.
- serverstatus( -- returns a dictionary describing the current status of Panorama X Server.
- URL Tool Menu (Web Debugging) -- tool with popup menu to assist with debugging web procedures.
- urlfilename( -- extracts the filename from a complete url.
- urlpath( -- extracts the path from a URL.
- Web Error Pages -- customizing the server response when an error occurs.
- webserverinfo( -- retrieves additional information about the web server and the current browser request.
- webtagortext( -- prepares text for display in a web page.
- webtext( -- converts a number or regular text into text encoded for display in a web browser.
History
10.2 | No Change | Carried over from Panorama 6.0. |