php - How to create a key(like FBAppid) automatically for registration? -
i need create auto generated key , send through mail registration process.the key should have atleast 50 characters(like facebook appid) length , must unique . using php technology , mysql data base.
i new php , need help.
for 50 chars , cryptographically safe string use.
openssl_random_pseudo_bytes(50);
Comments
Post a Comment