[wplug] CGI + C ?

Brian A. Seklecki lavalamp at spiritual-machines.org
Sun May 22 13:39:09 EDT 2005


Try CGIC, an ANSI C API for working with the HTTP protocol.  One of the
first learned and easiest to use APIs out there.  It even works with
DJGPP under Win32 w/ Apache for Win32 >:}.  Don't ask.

http://www.boutell.com/cgic/

The license is semi-free.

~BAS

On Wed, 2005-05-11 at 20:14, Zachary Uram wrote:
> We are allowed to run CGI scripts (Perl, PHP, etc.) but they must be
> end in .cgi suffix and they must be `chmod +x` and the path to
> executable should be at the top: `#!/bin/perl` etc..
> 
> I tested this with Perl and PHP and it is working fine but I've run
> into a snag trying to run compiled C programs. Is it possible to make
> a SH script `#!/bin/sh` that calls the C program? Or way to do this in
> a perl script?
> 
> Zach



More information about the wplug mailing list