webtext(
TEXT
)
The webtext( function converts a number or regular text into text encoded for display in a web browser.
Parameters
This function has one parameter:
text – text or number to be converted to HTML format.
Description
This function converts a number or regular text into text encoded for display in a web browser. As far as possible, any special characters are converted into HTML entities so that they will display correctly (for example accented characters like å, special characters like ©, and the < and > symbols.
webtext("abc å © < >") ☞ abc å © < >
This function is frequently used in web server code.
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.
- webhomesubfolder( -- returns the folder ID of a subfolder of the web server's home folder.
- webserverinfo( -- retrieves additional information about the web server and the current browser request.
- webtagortext( -- prepares text for display in a web page.
History
10.2 | No Change | Carried over from Panorama 6.0 |