HTML |
---|
<p>As mentioned, the built-in web server has an integral reporting extension that can produce a full report in HTML format and deliver it direct to a web browser. This reporting function is accessed using the standard CGI (Common Gateway Interface) protocol.</p> <p>The idea is simple: you pass the parameters of the required report, including the ID number of the report you want to produce, the period (date and time), and any other parameters that the report requires. The report is then generated and sent back to the web browser window.</p> <p>The reporting script, as it is known, is invoked by sending CGI variables to the object <span class="keyword">http://tim.yourcompany.com/rhdl.exe</span> where <span class="keyword">tim.yourcompany.com</span> is the host name of the machine running the TIM web server.</p> <p>Report parameters can be passed by the standard <span class="keyword">GET</span> and <span class="keyword">POST</span> methods. Using the <span class="keyword">GET</span> method, the parameters can simply be passed to the <span class="keyword">RHDL.EXE</span> object on the URL, as a hypertext link, or typed directly into the web browser's address bar. For example: <span class="keyword">http://tim.yourcompany.com/rhdl.exe?reportid=5&period=lastmonth</span> would return a full Call Geography report based on the calls made in your organisation over the last month.</p> <p>Using the <span class="keyword">POST</span> method requires an HTML Formform to be produced. An example of the same Call Geography report is described below:</p> |
...