#include <stdio.h>
int main(int argc, char *argv[])
{
printf("Content-type: text/plain\n\n");
printf("Hello, world!\n");
return 0;
}
上面这个程序如何才能以cgi形式在apache中运行?
|
|
上面这个程序如何才能以 |
||
|
|
|
|
非常简单! 放到apache的 然后访问:
就能看到:
|
||
|
|