RE: [PHP] Tell me how I can...
| From: | Jay Blanchard | Date: | Thu, 15 Aug 2002 19:14:23 +0000 |
| Subject: | RE: [PHP] Tell me how I can... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112833@lists.php.net to get a copy of this message | ||
[snip]
Thank you guys. I think I can solve one of my problems now. What about the
time limit?
[/snip]
You can set a date/time column in the user table which is checked at log in.
In the login form have a calculation based on the date/time; (over
simplification)
if ($date_created > $many_days){
print("Your account has expired.\n");
}
HTH!
Jay
***********************************************************
* Texas PHP Developers Conf Spring 2003 *
* T Bar M Resort & Conference Center *
* New Braunfels, Texas *
* San Antonio Area PHP Developers Group *
* Interested? Contact jay.blanchard@niicommunications.com *
***********************************************************