Thank you guys. I think I can solve one of my problems now. What about the
time limit?

"Gijs Herpers" <[EMAIL PROTECTED]> skrev i meddelandet
002e01c2448d$1a9d7740$[EMAIL PROTECTED]">news:002e01c2448d$1a9d7740$[EMAIL PROTECTED]...
> It is better to check how much entries you have in your database with
> mysql_num_rows in my opinion. It looks a lot easier thean whats described
> below.
>
> ----- Original Message -----
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> To: "'Øystein Håland'" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, August 15, 2002 8:50 PM
> Subject: RE: [PHP] Tell me how I can...
>
>
> > [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;
> > file://get info from data table or text file
> > if($current_number < $max_users){
> >    file://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
> >
> >
> >
> >
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to