把
printf("Contenttype:text/html\n\n");
改成
printf("Content-type:text/html\n\n");
就可以了
apache2.2+默认支持CGI,不用再配置了
printf("Contenttype:text/html\n\n");
改成
printf("Content-type:text/html\n\n");
就可以了
apache2.2+默认支持CGI,不用再配置了
2013-10-05 01:22
2013-10-05 01:22