Hi all, I am looking for a script that will only let users comment after they have logged in or registered. I have looked allmost everywhere and one doesnt seem to exist, or maybe im just notlooking hard enough. Please Help
assuming you already have the script to have users register use this if($_SESSION['logged_in'] == 1) { //what happens if you are logged in //assuming that the session name is called logged_in } else{ //what happens if you are not logged in } PHP:
Use this script for starters, you will only need to implement the comment section: http://www.awesomephp.com/?Membership Peace,