A5W_INFO Function
Syntax
Arguments
- full_pageLogical
Default = .T.
.T. = Return a complete HTML page.
.F. = Return only formatted table data to insert into another HTML page.
- include_prodheaderLogical
Default = .T. If .T., includes the Application Server version and build information.
Returns
- HTML_CodeCharacter
Returns information about Application Server settings and variables as formatted HTML.
Description
Creates a web page with info about the A5W environment
Discussion
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.
<%a5 ? a5w_info() %>
<%a5 ? a5w_info(.f.) %>
<%a5 ? a5w_info(.t.,.f.) %>
<%a5 x = a5w_info() ? x %>
<html>
<head>
<title>Diagnostics</title>
<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;}
//-->
</style>
</head>
<body>
<h2>Below is the output from a5w_info()</h2>
<%a5 ? a5w_info(.f.) %>
</body>
</html>Limitations
Web applications only.
See Also