Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Maxx 28.07.2007 15:06 / 28.07.2007 15:08
perl.cgi :#!/usr/bin/perl
print "Content-Type: text/html\n";
print "content-length: 100\n\n";
print "<h1>Hello World</h1>";
print "<h1>Hello World</h1>";
print "<h1>Hello World</h1>";
print "<h1>Hello World</h1>";
print "<h1>Hello World</h1>";
Response : HTTP/1.x 200 OK Date: Sat, 28 Jul 2007 10:40:04 GMT Server: Apache/2.2.0 (Linux/SUSE) Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 42 Connection: close Content-Type: text/htmlperl.cgi :
#!/usr/bin/perl
print "Content-Type: text/html\n";
print "Content-Length: 100\n\n";
print "<h1>Hello World</h1>";
print "<h1>Hello World</h1>";
print "<h1>Hello World</h1>";
print "<h1>Hello World</h1>";
print "<h1>Hello World</h1>";
Response : HTTP/1.x 200 OK Date: Sat, 28 Jul 2007 10:40:04 GMT Server: Apache/2.2.0 (Linux/SUSE) Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 42 Connection: close Content-Type: text/htmlЧто дальше проверять?