can someone help with a simiple PHP code that does the following...
When user visits show.php check mysql db table for there IP, if IP is present then deny access to that page (redirect to main.php) If IP is not present then store IP in the database.
i know a little bit about php so any example would be great