The World Wide Web pages of Adam Carpenter (53hornet)
!empty($post) && $post != '.' && $post != '..');
#$posts = array_slice($posts, 0, 1000);
foreach ($posts as &$post) {
$title = str_replace('h1', 'span', fgets(fopen("./posts/$post", 'r')));
$date = str_split($post, 10)[0];
$post = str_replace('.php', '', $post);
printf('-
%s
- %s
', $date, $post, $title);
}
?>