I began doing a little bit of testing with the TWebServer class, I was able to use the provided samples, my test html is below, and quite easily get it to serve up a web page with a labeled field for user the user to input a search value, and a button to press to initiate the search but my progress ended there, I don't get how to use this class any further than that. Can I get an example of how to capture the search value, and the button press to initiate a query. I'm assuming once I know how to do that the search function will return appropriate HTML to display the results. Once I know how to start the search, writing the display html is not too difficult a task.
I would also like to know if it possible to have this web server present html that is passed to it in a string, instead of having to write it to a file on disk and point to the file.
Robb
<HTML>
<TITLE>Analyzer</TITLE>
<HEAD>
</HEAD>
<SCRIPT>
function Search()
{
location.href = "results.htm?" + escape( document.search.item.value ) + '&' +
document.search.Headers[ 0 ].checked;
}
</SCRIPT>
<BODY BACKGROUND='images/beige3.bmp'>
<IMG SRC="images/Logo.jpg" alt="www.dummy.com" WIDTH=342 HEIGHT=90><br>
<H2>Analyzer</H2>
<FORM NAME="search">
<H3>Search: <INPUT SIZE=30 TYPE=Text VALUE="" NAME='item'>
<INPUT TYPE=Button Value='Search' OnClick=Search()></H3><br>
</FORM>
</BODY>
</HTML>