RE: [PHP] md()
| From: | Lars Holm Nielsen | Date: | Sun, 17 Sep 2000 13:48:19 +0000 |
| Subject: | RE: [PHP] md() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17087@lists.php.net to get a copy of this message | ||
> I am creating a User Authentication using MYSql
> database and PHp3.
>
> Now WHat I want is that when a user logs in A unique
> number has to be created in the database and the same
> will be stored in the Users browser as cookie..SO EAch
> page which will be for registered users will check for
> the cookie.,..and thus it should work...
It seems like that what you need is some sort of session management, and
since you doesn't use PHP4, you should take a look at
http://phplib.netuse.de
If you just need to generate a unique id, then take a look at
http://www.php.net/manual/function.uniqid.php
Regards,
Lars Holm Nielse <lars@hankat.dk>