How do i disallow registered members from visiting a site or using a function twice in 15 minutes or more?
i dont want cookies pls...
i dont want cookies pls...
| Code: |
|
if(!((time() - $last_time) > 15*60)) { die("You cannot view the page twice in 15 minutes"); } else { //Show the page here } |