Published in: C
|
|
|
URL: http://renatoelias.art.br/blog/2009/09/22/php-wrapper-cgi-usando-phpwine-para-rodar-cgi/
CGI
Expand |
Embed | Plain Text
#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { char *data; long m,n; "Content-Type:text/html;charset=iso-8859-1",13,10); data = getenv("QUERY_STRING"); if(data == NULL) else if(sscanf(data,"m=%ld&n=%ld",&m,&n)!=2) else return 0; }
You need to login to post a comment.
