发信人: nuorilang(Nuorilang) 
整理人: workingnow(2002-09-30 11:47:46), 站内信件
 | 
 
 
【 在 jaron 的大作中提到:】
 各位好心人,谢谢大家。我的问题解决了。源代码修改如下:
 test.html
 <html>
 <head>
 <title>test</title>
 </head>
 <body>
 <script scr="/cgi-bin/test.pl"></script> #关键
 </body>
 </html>
 
 test.pl
 print "content-type=text/html\n\n"; #我一直少这句
 print "document.write('Your IP is:$ENV{REMOTE_ADDR}');"; #这句也关键
 
 总算有个结果了。
  | 
 
 
 |