granty77 Posted September 22, 2006 Share Posted September 22, 2006 Hello - i've got an idea for a site that i imagine would be bombarded by idiots with irrelevant posts.Does anyone know of a way of manually validating posts before they are sumbitted to the database? I wouldn't want to plough through tons of spam AFTER they've already been posted. Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/21670-manual-post-validation/ Share on other sites More sharing options...
Daniel0 Posted September 22, 2006 Share Posted September 22, 2006 Have a field in the post table called is_validated. Set the default to 0, then on some page you have access too, select all posts where is_validated=0. When displaying posts select all posts where is_validated=1. Quote Link to comment https://forums.phpfreaks.com/topic/21670-manual-post-validation/#findComment-96767 Share on other sites More sharing options...
granty77 Posted September 22, 2006 Author Share Posted September 22, 2006 good man - why didn't I think of that?! Quote Link to comment https://forums.phpfreaks.com/topic/21670-manual-post-validation/#findComment-96769 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.