| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Daevid Vincent | Date: | July 15 1999 11:49pm |
| Subject: | Re: Unique ID Generation | ||
| View as plain text | |||
in PHP:
srand(date("s"));
$password = crypt($first_name.rand(1000,9999).substr($last_name, -3));
works just dandy for me, of course this is a one way encryption basically.
in fact, the crypt() command itself is probably sufficient ;-)
ÐÆ5ÏÐ What is http://TheMatrix.com
* Progress (n.): The process through which Usenet has evolved from
smart people in front of dumb terminals to dumb people in front of
smart terminals. -- obs@stripped (obscurity)
| Thread | ||
|---|---|---|
| • Unique ID Generation | PinkeshP | 15 Jul |
| • Re: Unique ID Generation | Paul DuBois | 15 Jul |
| • RE: Unique ID Generation | Don Read | 15 Jul |
| • RE: Unique ID Generation | Don Read | 15 Jul |
| • Re: Unique ID Generation | Daevid Vincent | 16 Jul |
| • RE: Unique ID Generation | Lincoln Yeoh | 16 Jul |
| • Re: Unique ID Generation | Daevid Vincent | 16 Jul |
| • Re: Unique ID Generation | Daevid Vincent | 16 Jul |
| • Re: Unique ID Generation | Kevin Smith | 15 Jul |
