1read 100read
2012年3月WebProg50: 一番汚いコードでHello Worldを書いたやつが勝ち (209) TOP カテ一覧 スレ一覧 2ch元 削除依頼
これってKENTのCGIのパクリ? (134)
PHPBB (749)
天才WEBプログラマの方々に一生のお願い… (120)
正規表現道場 (930)
ショッピングカート総合スレ (404)
Perlのオブジェクト指向って無理やり実装だなw (266)

一番汚いコードでHello Worldを書いたやつが勝ち


1 :07/06/22
言語は何でもいいよ

2 :07/06/22
<p
>
h
e
l
l
o
,
w
o
r
l
d
</
p
>

3 :07/06/22
>>2
<b>の方がオススメ

4 :07/06/22
<終了>終了</終了>

5 :07/06/22
実態参照とかで。
めんどくさいから誰かヤレ。命令。

6 :07/06/22
>>2
それだと1文字ごとに空白が入っちゃうじゃん

7 :07/06/22
<% for i in 1..11 do -%>
<% case i -%>
<% when 1 -%>
H
<% when 2 -%>
e
<% when 3 -%>
l
<% when 4 -%>
l
<% when 5 -%>
o
<% when 6 -%>

<% when 7 -%>
W
<% when 8 -%>
o
<% when 9 -%>
r
<% when 10 -%>
l
<% when 11 -%>
d
<% end -%>
<% end -%>

8 :07/06/22
>>6
word-spacing

9 :07/06/23




























10 :07/06/23
<?php
$unkoyamaunko = <<<UNKOYAMAUNKO
%48%65%6c%6c%6f%2c%57%6f%72%6c%64
UNKOYAMAUNKO
$unkokawaunko = urldecode($unkoyamaunko);
echo $unkokawaunko;
?>

11 :07/06/23
>>10
これはwww
しかもphpでw

12 :07/06/25
<noscript>このページを表示するにはJavaScript対応のブラウザが必要です。</noscript><script type="text/JavaScript">
s=decodeURI("%14%02rYE%5C%5D%14%02t%14%01p%14%01%08%14%02rYTPU%14%02t%14%02rEXE%5DT%14%02tyt%7D%7D~(改行しない)
%14%03%01f~c%7Du%14%02r%1EEXE%5DT%14%02t%14%02r%1EYTPU%14%02t%14%01p%14%01%08%14%02rS%5EUH%14%02tyt%7D%7D~(改行しない)
%14%03%01f~c%7Du%10%14%02r%1ES%5EUH%14%02t%14%01p%14%02r%1EYE%5C%5D%14%02t%14%01p");
k=49;t="";for(i=0;i<s.length;i++){a=s.charCodeAt(i)^k;t=t+String.fromCharCode(a);}document.write(decodeURI(t));</script>
長過ぎになってしまった
(改行しない)って書いた文字列とその直後の改行を省いてくれ

13 :07/06/25
try { ta346n3t4; 5bwq3; 4v5nh; uqo34uqvi; 34g5v3j; 4het5n45 }
catch (e) { alert('Hello World'); }

14 :07/06/25
if($code=="一番汚い"){echo"hello world";}

15 :07/06/25
汚いコードだなぁ

16 :07/06/25
#include <stdio.h>
int hello(int i)
{
    static char * str="Hello world\n";
    putchar(i++[str]);
    if(i[str-1] == '\n') return(0);
    hello(i);
}
int main(int argc, char * argv[])
{
    hello(0);
    return(0);
}
// なんかイマイチだな
// もっと天然で汚い感じが欲しい

17 :07/06/25
// hello.js
import System;
import System.Text;
const a: String = "utf-8";
const b: Char = " ";
const c: Char = "d";
const d: Char = "e";
const e: Char = "h";
const f: Char = "l";
const g: Char = "o";
const h: Char = "r";
const i: Char = "w";
Console.WriteLine("Content-type: text/html; charset={0}", a);
Console.WriteLine();
var j: StringBuilder = new StringBuilder();
var k: Char[] = [Char.ToUpper(e), d, f, g, b, Char.ToUpper(i), h, c];
j.Append(k);
var l: int[] = [2, 2, 3, 7, 2, 9];
for (var m : int = 0; m < l.Length; m += 2)
    j.Insert(l[m + 1], k[l[m]]);
Console.WriteLine('<{0}><{1}><{2}>{5}</{2}></{1}><{3}><{4}>{5}</{4}></{3}></{0}>',
    'html', 'head', 'title', 'body', 'p', j.ToString());

18 :07/06/25
<?php
/*
     ____
   /__.))ノヽ
   .|ミ.l _  ._ i.)  
  (^'ミ/.´・ .〈・ リ   phpはわしが育てた
  .しi   r、_) |  
    |  `ニニ' /   
   ノ `ー―i
*/
echo"Hello World";
?>

19 :07/06/25
<?php
if (1) {
?>
Hello World
<?php
}
?>

20 :07/06/26
#include <stdio.h>
#include <string.h>
int main(void)
{
char str[16];
memset( str, "\0", sizeof(str) );
sprintf( (char *)&str[16], "Hello World" );
puts( (char *)&str[16]text );
return 0;
}

21 :07/06/26
汚いどころか間違えた・・・orz
誤:puts( (char *)&str[16]text );
正:puts( (char *)&str[16] );
どっちにしろアレだが。

22 :07/06/26
>>19
ツッコミ待ちでつか

23 :07/06/26
Javaだけど、たかがHelloWorldごときに、StrategyやらAbstractFactoryやらGoFデザインパターン
を使いまくってるのがあったな。
ttp://developers.slashdot.org/comments.pl?sid=33602&cid=3636102

24 :07/06/27
必要以上な実装としては好例
汚くはないが。サンプルとして有用そうだし。

25 :07/06/28
10 print "H"
20 print "e"
30 print "l"
40 print "l"
50 print "o"
60 print "W"
70 print "o"
80 print "r"
99999 print "l"
15656520 print "d"
renum
run

26 :07/06/28
renum 1000
くらいにしとけ

27 :07/06/28
漏れも参戦したいw
PHPなんだけどまだネタある?誰かヒントプリーズ

28 :07/06/28
お前参戦の意味分かってるか

29 :07/06/29
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLOWORLD.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SOURCE-COMPUTER.
OBJECT-COMPUTER.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 HW PIC X(11) VALUE "Hello World".
PROCEDURE DIVISION.
DISPLAY HW
STOP RUN.

30 :07/06/29
普通じゃないか。笑ったけど

31 :07/06/29
$m = "H"; goto display;
Add_e:{ $m .= "e"; goto display; }
Add_l:{ $m .= "l"; goto display; }
Add_o:{ $m .= "o"; goto display; }
Add_W:{ $m .= "W"; goto display; }
Add_r:{ $m .= "r"; goto display; }
Add_d:{ $m .= "d"; goto display; }
display:
if($m eq "H") {
goto Add_e;
} elsif($m eq "He") {
goto Add_l;
} elsif($m eq "Hel") {
goto Add_l;
} elsif($m eq "Hell") {
goto Add_o;
} elsif($m eq "Hello") {
goto Add_W;
} elsif($m eq "HelloW") {
goto Add_o;
} elsif($m eq "HelloWo") {
goto Add_r;
} elsif($m eq "HelloWor") {
goto Add_l;
} elsif($m eq "HelloWorl") {
goto Add_d;
} else {
print $m;
}

32 :07/06/30
$ara=array(" ",A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z);
$mes="";
if($mes=="HELLO WORLD"){
echo $mes;
}else{
for($i=0;$i<26;$i++){$mes.=$ara[rand[0,25]];}
}

33 :07/06/30
$kitanai["一番汚いコード" ] = "Hello World";
echo $kitanai["一番汚いコード" ];

34 :07/06/30
<?php
$a=false;
?>Hello World

35 :07/06/30
st ix, [j]
ld ix, [j]
ld acc, [ix+a0+1]
st acc, [x]
lp2: ld acc, [x]
ld ix, [j]
ld ix, [ix+a0]
cmp acc, ix
bzp lp4
ld ix, [j]
ld acc, [ix+a0]
st acc, [ix+a0+1]
lp3: ld ix, [j]
sub ix, 1
st ix, [j]
bzp lp2
lp4: ld acc, [x]
ld ix, [j]
st acc, [ix+a0+1]

36 :07/06/30
インデントしてあるとか良心的だな

37 :07/07/02
try
{
Integer.parseInt("");
}
catch(Exception e)
{
System.println("Hello World");
}

38 :07/07/03
<?php while(true){echo"HELLO WORLD";} ?>

39 :07/07/04
world = "Hello"
def hello(world)
print "Hello" + " " + "World"
end
hello(world)

40 :07/07/04
# sorry, give me a one chane
hello, world = "Hello", "world"
def hello(world)
print "Hello" + " " + "World"
end
hello(world)

41 :07/07/04
#include <stdio.h>
#include <stdlib.h>
int main( int argc, char *argv[] )
{
char dec[]={0x2f,0xa3,0x05,0x1f,0x3e,0xdf,0x1d,0x83,0x5b,0xa1,0xde,0x00};
char *p=dec;
while(*p){
printf("%c",*p++^(char)rand());
}
printf("\n");
exit(0);
}
rand()の実装が違うとだめだな。

42 :07/07/04
"Hello World".each_with_index{ |hello, world| p hello }

43 :07/07/04




























44 :07/07/04
荒らしじゃないよ。WhiteSpaceという言語

45 :07/07/04
逆に綺麗だと思った

46 :07/07/04
>>44
2ちゃんねるはタブを削り落とされるのでお前は荒らし

47 :07/07/04
// HelloWorld.js
function HelloWorld(s) {
    return s.toString().split(/\W/)[1];
}
WScript.Echo(HelloWorld(HelloWorld));

48 :07/07/05
2ちゃん関係ないがな

49 :07/07/05
たしかに荒らしだわな。
2ちゃんの仕様だから

50 :07/07/11
my @hello = qw( H e l l o W o r l d ); foreach my $s( @hello ) { print " " if( $s eq qq|W|); print $s; }

51 :07/07/11
約100万回前後ループして完成するHello World
#!/usr/bin/perl
use strict;
$|=1;
print qq|content-type:text/html\n\n|;
&main();
sub main {
srand(time ^ ($$ + ($$ << 15)));
my $loop=1;
foreach(0x48,0x65,0x6c,0x6c,0x6f,0x20,0x57,0x6f,0x72,0x6c,0x64) {
while($loop++) {
if(int(rand()*100000)==$_) {
printf qq|%c |, $_;
last;
}
}
}
$loop--;
print qq|<br>\n|;
print qq|<br>\n=================<br>\n|;
print qq|loop=${loop}|;
print qq|<br>\n=================<br>\n|;
}
;1;

52 :07/07/15
<? new a("Hello World");
class alfhabeta{var $a = "a";var $b = "b";var $c = "c";var $d = "d";var $e = "e";var $f = "f";var $g = "g";
var $h = "h";var $i = "i";var $j = "j";var $k = "k";var $l = "l";var $m = "m";
var $n = "n";var $o = "o";var $p = "p";var $q = "q";var $r = "r";var $s = "s";var $t = "t";var $u = "u";
var $v = "v";var $w = "w";var $x = "x";var $y = "y";var $z = "z";
var $space = " ";
function p($code,$s){if(ereg("[a-z]",$code)) return $s? strtolower($this->e($code)): strtoupper($this->e($code));
elseif($code == $this->space) return $this->e("space");else die("[Undefined]");}
function e($name){$arr = get_object_vars($this);return $arr[$name]? $arr[$name]: "( ゚д゚)シメジ";}}
class a extends alfhabeta{
var $str = null;
function a($str = "Nullpo"){$this->str = $str;
$str = $this->b(mb_strlen($this->str));echo $str;
return true;}
function b($num){$n = 0;
while($n < $num){$str = $str . $this->c(substr($this->str,$n,1));$n++;}
return $str;}
function c($code){return $this->p(strtolower($code),ereg("[a-z]",$code));}
}?>
無駄に長く書いてみた。改行で怒られた……

53 :07/07/15
#!/usr/bin/perl
my $hoge = '';
open $hoge or die('Hello World!');

54 :07/08/30
<?
function unko()
{
$str = "                     人          <br>".
    "                   ノ⌒ 丿        <br>".
"                _/   ::(          <br>".
"               /     :::::::\         <br>".
"               (     :::::::;;;;;;;)         <br>".
"               \_―― ̄ ̄::::::::::\      <br>".
"               ノ ̄     ::::::::::::::::::::::)      <br>".
"              (     ::::::::::::::;;;;;;;;;;;;人       <br>".
"             / ̄――――― ̄ ̄::::::::\     <br>".
"            (        :::::::::::::::::::::::::::::::::)     <br>".
"            \__::::::::::::::::::;;;;;;;;;;;;;;;;;;;;;;;;ノ       <br>";
return $str;
}
echo unko();
?>

55 :07/09/03
<?php
//俺のかわりにお前が書け
?>

56 :07/09/19
>>55
きたねぇw

57 :07/12/21
<?php
class H{
$s="hello world";
function H(){
}
function p(){
return ucfirst($this->s);
}
}
$hc=new H();
echo $hc->p();
/*
汚いというか複雑なだけか
*/

58 :08/02/16
+++++++++[>++++++++>+++++++++++>+++++<<<-]>.>++.+++++++..+++.>-.------------.<++++++++.--------.+++.------.--------.>+.

59 :08/02/16
<image src="たんつぼ満タン" alt="Hello World">

60 :08/02/19
$str="fadfahdfsaffasdefdafalfdaflfaodfasf dfgfwargwgwgodahjtjrjhrtljtd"
&helloworld($str);
exit;
sub hellowworld{
if($_[0] =~/h/){print"h"}
if($_[0] =~/h/){print"e"}
if($_[0] =~/h/){print"l"}
if($_[0] =~/h/){print"l"}
if($_[0] =~/h/){print"o"}
print" ";
if($_[0] =~/h/){print"w"}
if($_[0] =~/h/){print"o"}
if($_[0] =~/h/){print"r"}
if($_[0] =~/h/){print"l"}
if($_[0] =~/h/){print"d"}
}

61 :08/02/19
あ、まちがえた
$str="fadfahdfsaffasdefdafalfdaflfaodfasf dfgfwargwgwgodahjtjrjhrtljtd"
&helloworld($str);
exit;
sub hellowworld{
if($_[0] =~/h/){print"h"}
if($_[0] =~/e/){print"e"}
if($_[0] =~/l/){print"l"}
if($_[0] =~/l/){print"l"}
if($_[0] =~/o/){print"o"}
print" ";
if($_[0] =~/w/){print"w"}
if($_[0] =~/o/){print"o"}
if($_[0] =~/r/){print"r"}
if($_[0] =~/l/){print"l"}
if($_[0] =~/d/){print"d"}
}

62 :08/02/19
header('location: http://pc11.2ch.net/test/read.cgi/php/1182439426/')

63 :08/02/22
print "H";
print "e";
while($i<2){
print "l";
$i++;
}
print "o";
print "W";
print "o";
print "r";
print "l";
print "d";

64 :08/02/22
throw new HelloWorldExeption();

65 :08/02/23
$helloworld = "%82g%82d%82k%82k%82n%81%40%82v%82n%82q%82k%82c%81I";
$helloworld = &helloworld($helloworld) ;
print $helloworld;
exit;
sub helloworld{
$_[0] =~ s/%([A-Fa-f0-9][A-Fa-f0-9])/pack("C", hex($1))/eg;
}

66 :08/02/27
$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu="Hello World";
$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu2=$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu;
$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu3=$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu2;
$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu4=$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu3;
$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu5=$doumoarigatougozaimasukyoumotanoshikukurashiteorimasu4;






echo "Hello World";

67 :08/02/27
$hentai="Hentai";
print str_replace("e","",strtr(strtr(str_replace("a","",str_replace("i","",$hentai)),array("t"=>""))),"n","");
print str_replace("H","",strtr(strtr(str_replace("a","",str_replace("i","",$hentai)),array("t"=>""))),"n","");
$unko="unko";$oshikko="oshikko";$scatolo="skatolo";$daiben="daiben";$wakiga="wakiga";
He までできました
続きが出来ません誰かお願いします

68 :08/02/28
#!perl
@join=qw(_ o VV o);print<<joln;
${\join"\40|","",q:-l:,'三',_=>"@join",'~','_',">"}
joln

69 :08/04/25
<form method="POST" action="">
<p>好きな言葉を入れてね!</p>
<input type="text" name="text" />
<input type="submit" />
</form>
<?php
if(isset($_POST['text']) && $_POST['text'] == "Hello World") or exit('もっとセンスの良い言葉を入れなきゃダメ!!');
echo $_POST['text'];
?>

70 :08/06/16
+++++++++[>++++++++>+++++++++++>+++++<<<-]>.>++.+++++++..+++.>-.------------.<++++++++.--------.+++.------.--------.>+.

71 :09/04/04
<?php
class H{
static $H=null;
public static function getInstance($c,$d){
return eval("if(!isset(self::\$H['$d']))self::\$H['$d']=new $d('$c');return self::\$H['$d'];");}
private function __construct($b){$this->b=$b;}
public function p(){echo $this->b;}
}
foreach(array('o'=>'H','e'=>'o','l'=>'e','w'=>'l','d'=>'w','r'=>'d') as $a=>$b){
eval("class $a extends $b{ static \$$a=null;}");}
e::getInstance('H','e')->p();w::getInstance('e','w')->p();d::getInstance('l','d')->p();d::getInstance('p','d')->p();
H::getInstance('o','H')->p();l::getInstance(' W','l')->p();H::getInstance('n','H')->p();
o::getInstance('r','o')->p();d::getInstance('a','d')->p();r::getInstance('d!!','r')->p();
?>

72 :09/06/12
\u48\u65\u6c\u6c\u6f\u20\u57\u6f\u72\u6c\u64

73 :09/07/02
(apply #'format t "~A~A~A~A ~A~A~A~A~A~%"
(reverse (mapcar #'character '(100 108 114 111 87 111 108 101 72))))

74 :09/07/02
しまった 'l'が足りん

75 :09/07/05
<?php
$string = "Hello World";
/*
何故か出力できないのでコメントアウト。バグ?
print $stling;
*/
//Header("Location: http://ja.wikipedia.org/wiki/Hello_world\n\n");
Header("Location: http://www.nitroplus.co.jp/pc/lineup/pro_04a.html\n\n");
?>

76 :09/07/05
変数名が違っちゃどうしようもない

77 :09/07/06
ここの住人はいったいだれと闘ってるんだ?

78 :09/08/14
書こうと思ったら
すでに、>>34に書かれてた

79 :09/08/15
PHPって
ファイル名をhelloworld.phpにして、
内容を「Hello World」だけにすれば
それはPHPのコードとして通用するんだなw

80 :09/08/20
サルがシェークスピアをタイプできるのか、的なやつ
<?php
define('H', 'hello world!');
$letters = array_merge( range('a', 'z'), range('0', '9'), array(' ', '!') );
$output = '';
$tried = 0;
while ($output != H && $tried < 1000000) {
type($output);
$tried ++;
}
echo $output;
function type(&$output) {
global $letters;
$output .= $letters[rand(0, count($letters)-1)];
if (strpos(H, $output) !== 0) $output = '';
}
?>

81 :09/08/20
ヒットしたら消してんじゃねーか

82 :09/08/21
ヒットしないのを消してんじゃん

83 :09/08/21
一文字選択するごとに消してないか?

84 :09/08/21
Hello worldの順番で一文字でも違うのが出たら最初からやり直しってことだと。
試行回数100万程度じゃまず出ないだろうな。

85 :09/08/21
選択した1文字の中にhello worldが含まれているか確認して
含まれていなかったら消して再度実行しているように見えるんですが
私の気のせいでしょうか

86 :09/09/28
import java.io.File;import javax.sound.sampled.*;class A2_0_kadai {public static void main(String[] args) throws InterruptedException {
s s = new s();Thread t = new Thread(s);t.start();}}class s implements Runnable {private static final int EXTERNAL_BUFFER_SIZE = 128000;public void run() {
System.out.println("hello");try {File soundFile = new File("C:/WINDOWS/Media/Windows XP Startup.wav");
AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(soundFile);AudioFormat audioFormat = audioInputStream.getFormat();
DataLine.Info info = new DataLine.Info(SourceDataLine.class,audioFormat);SourceDataLine line = (SourceDataLine) AudioSystem.getLine(info);
line.open(audioFormat);line.start();int nBytesRead = 0;byte[] abData = new byte[EXTERNAL_BUFFER_SIZE];while (nBytesRead != -1) {
nBytesRead = audioInputStream.read(abData, 0, abData.length);if (nBytesRead >= 0) {
int nBytesWritten = line.write(abData, 0, nBytesRead);}}try {Thread.sleep(1000);} catch (InterruptedException e) {System.out.println(e);}System.out.print("world");
line.drain();line.close();System.exit(0);} catch (Exception e) {e.printStackTrace();System.exit(1);}}}
センスなくてすまんage目的改行怒られたxp用。

87 :09/11/25
age

88 :09/11/29
<?php
$array = array('H', 'e', 'l', 'l', 'o', ' ', 'W', 'o', 'r', 'l', 'd', '!');
$count = 0;
while(true)
{
$rand = mt_rand(0, 262144);
if($count == $rand)
{
echo $array[$rand];
if($count == 11) {
break;
}
$count++;
}
}

89 :09/12/02
<?php
?>
Hello World

90 :09/12/10
<!-- Save to 'hello.html' and click this file -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript"><!--
google.load("language", "1");
function textTranslate() {
var text = "こんにちわ,世界";
google.language.translate(text, "ja", "en",
function(result) {
if (result.translation) {
document.getElementById("translation").innerHTML = result.translation;
}
}
);
}
google.setOnLoadCallback(textTranslate);
// --></script>
</head>
<body>
<div id="translation"></div>
</body>
</html>

91 :09/12/11
汚いというのと余計なことをしているというのは別モノだと思わないか?

92 :09/12/19
ここまでMalbolgeなし。http://ja.wikipedia.org/wiki/Malbolge からコピペ。
(=<`:9876Z4321UT.-Q+*)M'&%$H"!~}|Bzy?=|{z]KwZY44Eq0/{mlk**
hKs_dG5[m_BA{?-Y;;Vb'rR5431M}/.zHGwEDCBA@98\6543W10/.R,+O<

93 :10/01/06

LD IX,$E000
LD A,'H'
LD (IX+0),A
LD A,'E'
LD (IX+1),A
LD A,'L'
LD (IX+2),A
LD A,'L'
LD (IX+3),A
LD A,'O'
LD (IX+4),A
LD A,' '
LD (IX+5),A
LD A,'W'
LD (IX+6),A
LD A,'O'
LD (IX+7),A
LD A,'R'
LD (IX+8),A
LD A,'L'
LD (IX+9),A
LD A,'D'
LD (IX+10),A
RET

94 :10/01/07
a = "Hello World";print a

95 :10/01/26
<SCRIPT LANGAGE="JavaScript">
var s="( 5 < < ?@7 ? B < 4",k=96,t="",r=0;
for(i=0;i<s.length;i++){
a=s.charCodeAt(i);
if(a==36){
++i;
r=1;
a=s.charCodeAt(i);
}
if(a==32){
++i;
a=(s.charCodeAt(i)-48)^k;
}else if(a==33){
++i;
a=(s.charCodeAt(i)+77)^k;
}else if(a==35){
++i;
a=(s.charCodeAt(i)+141)^k;
}else a=a^k;
if(r==1){
r=2;
e=a;
}else if(r==2){
r=0;
t=t+String.fromCharCode(a*256+e);
}else t=t+String.fromCharCode(a);
}
document.write(t);
</SCRIPT>

96 :10/01/26
? print scriptName();

97 :10/01/26
慣れないPerlで挑戦
use Socket; use FileHandle;
socket(S,PF_INET,SOCK_STREAM,6);
connect(S,sockaddr_in(80,inet_aton('ja.wikipedia.org')));
autoflush S (1);
print S "GET http://ja.wikipedia.org/wiki/Hello_world\nHost: ja.wikipedia.org\nC
onnetion: close\n\n";
while (<S>){ print $1 if ( /<h1[^>]*>([^<]*)<\/h1/);} close (S);

98 :10/01/27
<?php
$HelloWorld = "Hello World";
print "Hello World";
?>

99 :10/01/27
$go = "hello work";

100read 1read
1read 100read
TOP カテ一覧 スレ一覧 2ch元 削除依頼
サーバーサイドJavaScript総合 (213)
現在最速で最軽量のプログラムの組み合わせはなんだ (107)
Analogスレ (120)
【CMS】AD-EDIT質問スレ【国産】 (140)
Python CGI (347)
【RoR】Ruby on Rails Part14 (282)
--log9.info------------------
デジタル放送対応TVチューナーどれがいいの? (825)
NAS総合スレPart18 (LAN接続HDD) (495)
スタパ斉藤 パスタ斉藤 スパタ斉藤 (341)
【27インチWQHD】HP ZR2740w (299)
Lenovo ThinkServer TS130 (257)
【30インチ】大型・高解像度液晶 総合 14【WQXGA】 (943)
■USBバスパワー出力のACアダプタ■【iPod】 (193)
【Adobe RGB】 SAMSUNG SyncMaster XL20 【LED】 (278)
I-O DATA 液晶ディスプレイ part9 (645)
【品質】USBケーブルスレッド【端子】 (245)
Dell デジタルハイエンド2007FP HAS/2001FP HAS Part37 (515)
【ワンセグチューナー】ちょいテレ 総合スレ その12 (364)
【安定稼働】センチュリーシステムズ2【ルーター】 (438)
【Logicool】ロジクールキーボード 9th【Logitech】 (129)
おすすめビデオカードスレ Part24 (176)
acerモニター総合スレ 12台目【エイサー】 (108)
--log55.com------------------
中華料理はガチ
■■■DRAGON GATE総合スレPart253■■■
プロレスごっこの思い出
プロレスで聞いたデタラメな解説www
1.4レッスルキングダムの松井珠理奈とかいう素人がうざすぎる
前座・中堅レスラーの哀愁
松井珠理奈のプロレス熱が冷めてる件
日本一ダメな団体を編成しよう!