I have the code below where it contains the salt password:
$pass = rand(); $pass = md5($pass); $pass = substr($pass, 0, 15); $pass = md5(md5("g3f".$pass."rt4"));
Now, if I echo $ pass, then it will output this, for example:
8723d9c8a8b2af798be25fd07ab0ff0a
But what I want to do is echo the password itself, so, for example, instead of displaying above, a line that is the "password" will be displayed.
How can this be achieved?
thanks
source share