supanoob Posted July 27, 2008 Share Posted July 27, 2008 Basically i have a forum (i have made myself) and i want to make it so people can only make 1 post every 30 seconds to help stop spam. I was wondering if this is possible. If so how? Link to comment https://forums.phpfreaks.com/topic/116846-spam-filter-help/ Share on other sites More sharing options...
MFHJoe Posted July 27, 2008 Share Posted July 27, 2008 Add a last posted field to the users table in the database with the PHP time() function (or the SQL equivalent). Then just run an if statement on that field before you insert the post into the posts table. Link to comment https://forums.phpfreaks.com/topic/116846-spam-filter-help/#findComment-600848 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.