RE: [PHP-DB] cookies, email and passwords
| From: | Matt Williams | Date: | Sun, 25 Feb 2001 19:48:34 +0000 |
| Subject: | RE: [PHP-DB] cookies, email and passwords | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6944@lists.php.net to get a copy of this message | ||
> Sorry for putting three topics in one but they all go together so
> I thought
> I would.
>
> I am setting up a user login/members area!
>
> * Firstly how do I generate a random password?
>
> * Then how do I email it to the user?
>
> * And now I need to know how to set a cookie with their username and
> password so that when they log in they don't have to keep entering their
> username and password for the hour that the cookie is active?
>
> * How do I also call the cookie into each page?
>
> If anyone can help with any of these I would be really grateful!
>
Hi
have a look at phplib http://phplib.netuse.de
It may be a bit more than you need but it's good
M@