From c1be29ce359d054fa273fd56661d9900f88fa491 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Fri, 2 Dec 2011 15:11:13 +1100 Subject: ammended mod authentication system (no more $_SESSION) --- post.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'post.php') diff --git a/post.php b/post.php index 5dcc9424..c2466961 100644 --- a/post.php +++ b/post.php @@ -164,17 +164,6 @@ if(!isset($_SERVER['HTTP_REFERER']) || !preg_match($config['referer_match'], $_SERVER['HTTP_REFERER'])) error($config['error']['referer']); - // TODO: Since we're now using static HTML files, we can't give them cookies on their first page view - // Find another anti-spam method. - - /* - // Check if he has a valid cookie. - if(!$user['valid']) error($config['error']['bot']); - - // Check how long he has been here. - if(time()-$user['appeared']