0 Users appreciate this thread.
Timed ban system?
angelrulez7 (2014-04-17 07:00:47)Apparently I can interpret words as codes now because I got it working.
I'm getting a lot better at PHP now...
a
This topic is closed, so you can not post a comment.
Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)
New registered users today: 7
Newest registered user: ElegantVulpes
I've attempted to do this but could never get it.
Ever since the early days, I've used a basic code:
if($row['banned'] == "yes"
die('You are banned!'
}
The problem with this is that whenever I want someone unbanned, I have to do it manually. I want to know a way that you can set an amount of time for a user to be banned, and they will be banned for that time, and then automatically be unbanned. How would I do this?