daily comics
A collection of the strips needed for daily life.
<p>
<!--break-->
<p>
<?php
eval('
function printcomicsdotcom($name, $urlname) {
$url = "http://comics.com/comics/".$urlname."/index.html";
$imglink = "http://comics.com/comics/".$urlname."/archive/images/";
$response = file_get_contents($url);
$r = preg_split("/\n/", $response);
$pattern1 = "/ALT=\"Today\'s Comic\"/";
$pattern2 = "/".$urlname."([0-9]*\.gif)/";
print "<a href=\"".$url."\">".$name."</a>";
print "<br>";
for ($ii = 0; $ii < count($r); $ii++) {
$line = $r$ii];
if (preg_match($pattern1, $line, $match1)) {
if (preg_match($pattern2, $line, $match2)) {
print "<img src=\"".$imglink."/".$match2[0]."\">";
}
}
}
print "<br><br>";
};
function printucomicsdotcom($name, $urlname)
{
};
');
printcomicsdotcom('Monty', 'monty');
printucomicsdotcom('The Fusco Brothers', 'thefuscobrothers', 'fu');
printcomicsdotcom('Pearls Before Swine', 'pearls');
printcomicsdotcom('Arlo and Janis', 'arlonjanis');
printcomicsdotcom('Get Fuzzy!', 'getfuzzy');
?>
Can I say that I love Arlo and Jerky Bits?
I was stricken with pain yesterday when I could not find Arlo in the Sunday Comics.
Thanks for letting us "comment" on the comics up in this piece...
_______________________________
“When you’re creating your own shit, man, even the sky ain’t the limit.†Miles Davis