Tuesday, May 1

I just want a sandwich!

I'm browsing around the web, like I so often do, and I'm feeling a little hungry. I don't want to get my ass out of the chair to get the phone, so I figure I should be able to order some food online, right? I'm feeling like a nice meatball sub would hit the spot. Now, before I hit Google, I thought I'd try my luck with the old "guess the domain" game. I usually do pretty good at that. So I type "sub-shop.com" into the address bar of the browser.

Hey, wait a minute. These guys don't sell food!

The good news is I forgot about dinner.



Older entries

'; } else { if(stristr($filename,"archive")) { $dir=$_SERVER['DOCUMENT_ROOT']; $template='_01_archive.html'; $tail=strlen($template); $thisArchive=$filename; //$files=scandir($dir); $dh = opendir($dir); while (false !== ($filename = readdir($dh))) { $files[] = $filename; } sort($files); $earlyarch=""; $laterarch=""; $prevarch=""; $next=0; foreach($files as $file) { if (substr($file,-$tail)==$template) { if ($next==1) { $laterarch=$file; $earlyarch=$prevarch; $next=0; } if ($file==$thisArchive) { $next=1; } else { $prevarch=$file; $earlyarch=$prevarch; } } } $link=''; $divider=''; if(file_exists($earlyarch)) { $link='< Earlier Archive'; $divider=" | "; } if(file_exists($laterarch)) { $link=$link.$divider.'Later Archive >'; } $link=$link.'

'; } } echo($link); ?>