Re: webserver
From: Rob Kennedy (me_at_privacy.net)
Date: 04/08/04
- Next message: AlanGLLoyd: "Re: Record type flushing"
- Previous message: Otto Porter: "Re: Another shitty example of exceptions"
- In reply to: Richard Skinner: "webserver"
- Next in thread: Richard: "Re: webserver"
- Reply: Richard: "Re: webserver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 07 Apr 2004 23:11:39 -0500
Richard Skinner wrote:
> I have an application that collects and analyzes data. I would like to
> create a web server to display the data. The data is not stored in a
> database, but simply resides in a memory array.
>
> The website would only be used by persons plugged in via a crossover cable
> or on our local network.
> I only need to display 1 page with the fields populated from data in my
> array.
>
> Which is the best tool or component to use to accomplish this in Delphi 6.
You could use the TIdHTTPServer component, part of the Indy suite. Indy
comes with Delphi, but you can get a more recent version from
http://www.indyproject.org/.
Since you only need to show one page, it should be very easy since you
won't have to interpret any of the HTTP requests your program gets --
you can send the same response no matter what URL is requested.
TIdHTTPServer would turn your program into a Web server. It would listen
to a port on your computer (port 80, by default) for connections from
clients, and in response, it would send HTML pages created based on your
data. Indy doesn't help you in creating or formatting the HTML, though;
it's strictly a socket library.
As for limiting access to your company LAN, I suspect that's a job for
the network administrator and a firewall.
-- Rob
- Next message: AlanGLLoyd: "Re: Record type flushing"
- Previous message: Otto Porter: "Re: Another shitty example of exceptions"
- In reply to: Richard Skinner: "webserver"
- Next in thread: Richard: "Re: webserver"
- Reply: Richard: "Re: webserver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|