-foreach (glob("$pagelink/*.html") as $reply) {
- preg_match('</(\d{2,14}) : ([^:]*) [^/]* \.html$>x', $reply, $replymeta);
- if (!$replymeta) continue;
- $replydate = str_split($replymeta[1], 2);
- $replydate[1] = $replydate[0] . $replydate[1];
- $replyuser = new User("profile/{$replymeta[2]}");