RE: [PHP] CGI Question?

From: Date: Wed, 14 Mar 2001 14:29:49 +0000
Subject: RE: [PHP] CGI Question?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43836@lists.php.net to get a copy of this message
This has been true since CGI began in the NSCA days. Any program that can take input from STDIN and output to STDOUT works as a CGI program. Languages I have actually used in the CGI bin include, C, C++, AWK, Sh, PHP and of course Perl. The C program simply has to deal with the CGI variables coming in on STDIN. There are probably many C libraries available to help parse this out into an array or something. This is actually a very good method if you want the fastest speed possible form a web application. Compile the C program statically for the best speed. John > -----Original Message----- > From: Dan Pupek [mailto:megabyte@sunnet.net] > Sent: Wednesday, March 14, 2001 7:40 AM > To: php-general@lists.php.net > Subject: [PHP] CGI Question? > > > On the latest version of Apache I have heard you can run Compiled > C binaries > from the CGI bin. Is this true? If so how does it work? > > -- > Dan Pupek > > On the Web: > http://www.sunnet.net/dnkp/dan > > Email: > megabyte@sunnet.net > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#43836) next »