Search Results for

    Show / Hide Table of Contents

    Using HTML documents

    The Server can be used as a simple HTTP server for viewing any HTML documents or any other files.

    Place the HTML documents to any folder, and then correctly set the property TfrxReportServer.Configuration.RootPath.

    Name of the default document must be specified in the TfrxReportServer.Configuration.IndexFileName property (default index.html). Correspondingly, a document with this name must exist in the root folder.

    SSI (Server Side Include) commands description.

    Include any file in document.

    <!--#include virtual="filename.html" -->
    

    Include the file with name filename.html in current document position. Path to file is specified from RootPath.

    Example:

    <!--#include virtual="header.html" --> Command line help
    <!--#include virtual="top.html" -->
    <font face="Tahoma" size="3"><a href="index.html"><b>Back to main page</b></a><b><br>
    </b></font><hr>
    ...
    

    Insert value of server variable.

    <!--#echo var="VARIABLE"-->
    

    Insert the value of variable with the "VARIABLE" name in current document position.

    Example:

    ...
    
    <tr> <td align="right" width="200"><b>Uptime:</b></td>
    <td width="300"><!--#echo var="SERVER_UPTIME"--></td></tr>
    <tr> <td align="right"><b>Total sessions:</b></td>
    <td><!--#echo var="SERVER_TOTAL_SESSIONS"--></td></tr>
    <tr> <td align="right"><b>Total reports:</b></td>
    <td><!--#echo var="SERVER_TOTAL_REPORTS"--></td></tr>
    <tr> <td align="right"><b>Max sessions:</b></td>
    <td><!--#echo var="SERVER_MAX_SESSIONS"--></td></tr>
    <tr> <td align="right"><b>Max reports:</b></td>
    <td><!--#echo var="SERVER_MAX_REPORTS"--></td></tr>
    ...
    

    Use of SSI commands optimizes website development.

    Example of the site with SSI you can see in the "\FastReport\Demos\ClientServer\Server\htdocs" folder.

    Back to top © Copyright Fast Reports Inc.