Updating database when ban is over
Hi!
I'm quite new to this, so I need help :() Code:
if( !id )I can provide more information if needed. |
Re: Updating database when ban is over
Instead of using a boolean value, you should instead set the ban duration using a unix timestamp. For a permanent ban set it to 2,000,000,000 or something way in the future, or the max value of a signed 32-bit long, 2,147,483,647 (01/19/2038 @ 3:14am)
Suppose the below for a 1 day ban, this is accurate down to the second in time:
PHP Code:
|
| All times are GMT -4. The time now is 13:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.