From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_50,INVALID_MSGID, SYSADMIN autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,df73492f3ae1db83 X-Google-Attributes: gid103376,public From: Jeff Glenn Subject: Re: CGI in Ada? Date: 1997/09/03 Message-ID: <340DF000.2C9A@iop.com>#1/1 X-Deja-AN: 269787328 References: Organization: All USENET -- http://www.Supernews.com Newsgroups: comp.lang.ada Date: 1997-09-03T00:00:00+00:00 List-Id: Eric James DeArment wrote: > > Does anyone know if it's possible to do CGI programming in Ada? > > +-------------------------------------------------+ > | "It is what sustained us through our | > | days, the truth that was in our hearts | > | and strength in our arms, and fulfillment | > | in our tongues."-Oisin Mac Finn | > | | > | Eric DeArment /|\ | > | ejd@efn.org | > | Team Ada | > +-------------------------------------------------+ Sure it is! I wrote an Ada CGI program to display a calendar for either the current or any month and it highlighted today in bold. My program generated an HTML table. Your program can either read from the command line (GET) or from Standard_Input (POST) and then write to Standard_Output, just like any other CGI language. Of course, you aren't going to use an interpreted Ada program, like Perl, but a lot of people use C. Just compile and link your program and get your System Administrator to put it in the appropriate cgi-bin directory. Voila! Jeff Glenn Jeff@IOP.com http://www.iop.com/~jeff (Find my Ada link!)