Purpose: The shell Tag allows you send a command to the Operating System, the results of which are displayed in the Browser page.
Anything you type between the opening and closing shell tags is processed in HTML mode where the resulting string output is not sent to the browser, as usual, but to the Web server's Operating System.
The shell tag uses the directory specified by the configuration option
The shell tag is not allowed in
Here's an example that would produce a directory listing within the Web Page. (Remember to use the HTML <pre> and </pre> Tags around the outside for proper formatting.)
Tip: To get a directory listing within a Web Page, you can also use the directory() function.
© 1996-2021 H.E.I. All Rights Reserved.