Advertisement
rAthus

[PHP] generate random readable string (id, password, etc)

Dec 6th, 2018
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.08 KB | None | 0 0
  1. $str = substr(str_shuffle('azertyupdfghkmwxcbnAZERTYUPDFGHKMWXCBN2346789'),0,4);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement