[fpc-pascal] CGI application

Vannus vannus at gmail.com
Wed May 19 14:50:07 CEST 2010


This may not be the right place to ask, but I'm really stumped and would
much prefer FPC over PHP.

Can someone point me to how I can make a CGI app that outputs the fields in
the query?

ie.
my.cgi?q=hello

and my.cgi then outputs whatever q is?


I'm using Lazarus but the deprecated CGI doesn't have any obvious way of
getting the URL So I tried weblaz but got nowhere with it -
TCustomCGIApplication's AResponse.Fields don't get filled with the query and
AResponse.URL doesn't contain the URL for me to parse myself :(

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100519/15aaa8c0/attachment.html>


More information about the fpc-pascal mailing list