In php is there a way to give a unique hash from a string, but that the hash was made up from numbers only?
example:
return md5(234); // returns 098f
Try hashid. It hash a number into format you can define. The formats include how many character, and what character included. Example: $hashids->encode(1); Will return "28630" depends on your format,