[fpc-pascal] CGI application

Vannus vannus at gmail.com
Wed May 19 15:01:14 CEST 2010


eh - im pretty sure im using ARequest and not AResponse (im on differnt pc
just now, can't check) - but i'll definetly double check when i get back!

How do i get command line vars? i tried GetENV() but it didn't understand
GetEnv() (which unit is it in?)

Cheers.

On 19 May 2010 13:55, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:

> Vannus het geskryf:
> > Can someone point me to how I can make a CGI app that outputs the fields
> in
> > the query?
>
> Think of CGI apps as simple Console applications (that's pretty much what
> they are). Everything after the ? is simply passed in as a parameter to
> your program. In it's simplest form you can write results back to the user
> using writeln() statements.
>
>
> Regards,
>  - Graeme -
>
> --
> fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
> http://opensoft.homeip.net/fpgui/
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100519/b440f0f3/attachment.html>


More information about the fpc-pascal mailing list