A5W_INFO Function


HTML_Code as C = a5w_info([L full_page [,L include_prodheader ]])



Default = .T.

.T. = Return a complete HTML page.

.F. = Return only formatted table data to insert into another HTML page.


Default = .T. If .T., includes the Application Server version and build information.



Returns information about Application Server settings and variables as formatted HTML.


Creates a web page with info about the A5W environment


The a5w_info() function displays a summary page showing all server settings and variables. The a5w_info() function also displays a list of installed ODBC drivers, if any exist. This function only works on a page submitted to the Application Server.

These are several examples of how the function could be used in an A5W page.

Generates the complete HTML page.
<%a5 ? a5w_info() %>
Generates a formatted table to insert into the page.
<%a5 ? a5w_info(.f.) %>
Exclude the application server information from the page.
<%a5 ? a5w_info(.t.,.f.) %>
Capture generated page in a variable and output the variable.
 x = a5w_info() 
 ? x %>
Formatted table added to the woRST HTML markup
        <style type="text/css">
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
body {background-color: #672d2d; font-size: 14pt; color: white; font-family: 'Open Sans';}
tr {background-color: #122423;}
th .e {background-color: #687dd2;}
.e {background-color: #3d492b; font-weight: bold;}
.h {background-color: #47193b; font-weight: bold;}
.v {background-color: #4b1223;}
i {color: #666666;}
        <h2>Below is the output from a5w_info()</h2>
        <%a5 ? a5w_info(.f.) %> 


Web applications only.

See Also