Hey, Im trying to generate a random number sequence..
What I need it to do, is start at 201 And go up.
Basically it will look like this (this is what I did so far)
So, as user's register it goes up by one: IE
MAI201, MAI202, and so on...
<p>Your New Pilot ID is: MAI <? echo(substr(sha1(uniqid(rand(), true)),1,6)); ?><br>
Your New Password is: <? echo(substr(sha1(uniqid(rand(), true)),1,6)); ?> </p> </html>
One other thing I need is, later on Ill be implimenting a mail()
function to send the username and password to the user
and Im curious how to delcare the username/password
as variables (so that when Im typing the welcome letter)
I can get the username/password in the email
Thanks guys