由 txkss 在 10-22-2004 12:23 发表:
求:一个CGI小程序
想做一下实验看一看Apache对CGI的支持情况所以想得到一个CGI小程序
大家帮帮忙吧
由 hiweed 在 10-22-2004 14:58 发表:
这是我写在 Hiweed-Debian Server 0.3beta2 里面的测试脚本
> PHP源码: > > * * * > >
>
> #!/usr/bin/perl
>
> print "Content-type: text/html charset=utf-8\n\n" ;
>
> print "
1<center> <img src="../hiweed_logo.gif"/>\n" ;
2>
3> print "<hr/>\n\n" ;
4>
5> print "Congratulations! 恭喜恭喜! \n\n" ;
6>
7> print "Your CGI configuration is OK. 您的 CGI 配置正确。\n" ;
8>
9> print "<hr/>Hiweed-Debian Server 0.3beta2" ;
10>
11> print <font color="#DD0000" ` `</center>