Hi
The TIdHTTPServer compunent is the best way to go. Implement your html code in the method/event:
DoCommandGet(AContext: TIdContext;
ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo);
The requested web pages is found in ARequestInfo.Document and you return the HTML...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.