Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Latest pic at /b/

Name: NiggerSlut 2007-09-23 23:09 ID:wzDxoX0m

<?php
//Board address
$address = 'http://img.4chan.org/b';;

//RegExp Patterns
$PicPattern = '/\/src\/.+?.\.(jpg|png|gif|swf)/';
$ReplyPattern = '/res\/.+?.html/';

//Parse Threads from Boards first page
$page = file_get_contents("$address/imgboard.html");
preg_match_all($ReplyPattern, $page, $threads);

//Get picture URL:s from the first Thread
$page = file_get_contents("$address/" .$threads[0][0]);
preg_match_all($PicPattern, $page, $pics);
$lastpic = end($pics['0']);

//Echo result
echo "<img src='$address$lastpic' height='50%'>";
die();
?>

Name: Anonymous 2007-09-23 23:33 ID:Heaven

nop

Name: lulz 2007-09-24 3:02 ID:sKgRfqDt

awwsum

Name: Anonymous 2007-09-24 4:04 ID:+2vIa4Dw

die();

Name: Anonymous 2007-09-24 5:01 ID:Heaven

Now write it in lisp.

Name: Anonymous 2007-09-24 5:13 ID:Heaven

>>5
Lisp, you say? Well here, take some parentheses...
(((((((((((((((((((((((((((((((((((((((((((((((((((()))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

Name: Anonymous 2007-09-24 6:18 ID:Heaven

>>6
unbalanced

Name: Anonymous 2007-09-24 6:42 ID:cllXr1cZ

OP is a faggot

<?php
preg_match_all("/res\/.+?.html/",file_get_contents("http://img.4chan.org/b/imgboard.html"),$t);
preg_match_all("/\/src\/.+?.\.(jpg|png|gif|swf)/",file_get_contents("http://img.4chan.org/b/".$t[0][0]),$s);
file_put_contents(str_replace("/src/","",end($s[0])),file_get_contents("http://img.4chan.org/b".end($s[0];)));
?>

Name: Anonymous 2007-09-24 6:43 ID:Heaven

(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((lambda x y)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

Name: pedo !BEAR0SWNFs 2007-09-24 7:09 ID:onrvsLic

>>8
eww.

Name: Anonymous 2007-09-24 7:52 ID:tkTvGG5q

Save for the lack of whitespace after comma and around operators, I prefer >>8 to >>1.

Name: Anonymous 2007-09-24 8:01 ID:zxXIQ/gx

Wouldn't it be much less stupid to get the image right from the front page?

Name: Anonymous 2007-09-24 11:12 ID:yFjA6oOH

Well HOW THE FUCK do you get the image from the frontpage if you can't see it there cause the thread is so fukken hueg.

Name: Anonymous 2007-09-24 11:36 ID:yFjA6oOH

php -r'preg_match_all("/res\/.+?.html/",file_get_contents("http://img.4chan.org/b/imgboard.html"),$t); preg_match_all("/\/src\/.+?.\.(jpg|png|gif|swf)/",file_get_contents("http://img.4chan.org/b/".$t[0][0]),$s); echo "\nhttp://img.4chan.org/b". end($s[0]) ."\n\n";'

Name: Anonymous 2011-02-03 5:25

Name: Anonymous 2012-06-25 22:49

犈鍲t䄵腃睈逅ᡸ䒆⥷՘⤆ⅵᤃ衔錅㤵奓斅镣㕅錐䌸ч┦删ᝁ㝔蔙抂Ʌ昣坸奸♄鉲砩䕕圈楩ų㔧钑ゐᑹ㠩㠕ᤸ癐夵䍙ĥ䞁厐頄瘔憄ᖙ䂙㈆夹瑷舓馅)蜡␲㠅݇❴甤桹攨ᥥ琙閒̱Ƀ⡠e餧в葆猡瘠䌅䆆閖扁ℨ蚘㝥吐剉荁颃蒉Љፕ䚀✩ᘤ舂枆荣愲馐投酠甀㦓遂愴単搐卸╠♐⥃利 ᝔ᢓ❄ቧᤶ攀琵ࠩ敢璗礕䡃耑㐘㑢䕣䌠㠐蕳鎈䊁艸╵坒␐撕饧ķ㔑視㚔㤒腇唶饵蠩虙䡩⥉ႂ䅳萵餣ԩ褓〔䎄銐锡蒘ѩ䀃᥶㢂蘐儲Ⅸ࢒煦荴薔⤳坢䅴䍤锦䌓⚑瑧У増䀆褣㤨蝒挔獶堂ኘ襆ᖗ祹䍳㠓᠙荱┥愒ቇ垉䅈⎈還㔳┡䚅畖•☹鍰祕ᡒ杗馔䆀ᒈ⤉ȹ؈㠓獗喅䙲⁲錶ၢၶ䕔㕤鈐瀑咔陔茕朧ݠ☘䑣ȑၔ䂅傘≈⁕畔㡢ِሆ⌆䉅c栦爃䈰獑IJ托顴塴薈內蕄㒓噉⒐概ᙖ䅁ᤕጉ䈳⊒щ疖✢逥抓炒錑頑钒㡐⎈肈>嘃摙茧

Name: Anonymous 2012-06-25 23:02

>>6
<at_least>(lisp[]){is{consistent};;};

Don't change these.
Name: Email:
Entire Thread Thread List