[snip]
How can I control the number of users?
I want to create a DB driven website where users create their own user
accounts. But with a limitation of the number of accounts, and when the
maximum is reached, no one can create a new account. I even want to limit
the lifetime of an account.
It may be explained in the mysql documentation, but I can't find it (and I'm
very much a newbie in this field).
[/snip]
Control it with your user account creation form and either a text file with
a number or a table containing number information.
In form
$max_users = 50;
//get info from data table or text file
if($current_number < $max_users){
//when this registration is done
$current_number++;
}
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 [EMAIL PROTECTED] *
***********************************************************
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php