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.li...@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@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal