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!<br><br>How do i get command line vars? i tried GetENV() but it didn't understand GetEnv() (which unit is it in?)<br>
<br>Cheers.<br><br><div class="gmail_quote">On 19 May 2010 13:55, Graeme Geldenhuys <span dir="ltr"><<a href="mailto:graemeg.lists@gmail.com">graemeg.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Vannus het geskryf:<br>
<div class="im">> Can someone point me to how I can make a CGI app that outputs the fields in<br>
> the query?<br>
<br>
</div>Think of CGI apps as simple Console applications (that's pretty much what<br>
they are). Everything after the ? is simply passed in as a parameter to<br>
your program. In it's simplest form you can write results back to the user<br>
using writeln() statements.<br>
<br>
<br>
Regards,<br>
- Graeme -<br>
<font color="#888888"><br>
--<br>
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal<br>
<a href="http://opensoft.homeip.net/fpgui/" target="_blank">http://opensoft.homeip.net/fpgui/</a><br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br>