|
Friday, January 21
On the road again
Now that I've finally managed to secure a replacement Social Security card just in time for Social Security to be dismantled, I might as well use it to get a current New York State driver's license. While I was Yes, that means getting a learner's permit and taking a road test. So while I'm not concerned about taking a written test and getting the permit, I'm certainly open for advice from fellow Manhattanites about any tips for a non-car-owning city dwellers trying to do the road test thing. I figure going through a driving school is probably the way to go, but that's just a guess. Labels: sundry '; } 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); ?> |