How to generate random activation code based on current datetime and username in PHP.
The return value should be like this, i.e:
201605021955Username
function getActivationCode($username){
$activationCode = "";
....
return activationCode;
}
Aucun commentaire:
Enregistrer un commentaire