function commentCount($n) { $comments_path = "http://www.untilthebreakofdawn.com/blog/"; if($file = @fopen($comments_path . "comments/$n.comment", 'r')) { $thisFile = fread($file, '1000000'); $thisFile = explode("\n", trim($thisFile)); fclose($file); $comments = sizeof($thisFile); if($comments == 1) {$comments .= " comment";} else {$comments .= " comments";} } else { $comments = "0 comments"; } return $comments; } ?>
| untilthebreakofdawn | |||
|
archive
|
|||
|
powered by blogger pro dotcomments istockphoto modwest |
|||
| it's quite possible no thought was actually put into this site | |||