eric lin wrote:
Dear advanced webprogramers or linuxer:
Could we using c replace perl in cgi programming?
I tried a simple c program(although it not compile write)
to parse the name and value it inherate from visitor hit the submit form
------------------------------------------------
#include <stdio.h>
int main()
{
extern char name[][];
extern char value[][];
printf("Content-type: text/html\n\n");
printf("<html><body>\n");
printf("the price fo ", name[1], " equal ", value[1], "\n");
printf("</body></html>");
}
--------------------------------------------------------------
like to see any of you 's opinion
yes, c can be used as cgi.
just trying to remember the module needed to add the functionality.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org