CODE
LIBARY.COM
Home
/
PHP
PHP Random password using md5() and time()
Random password using md5() and time()
<? $n = "8"; $pass = substr(md5(time()),0,$n); echo $pass; ?>
$n = "8"; $pass = substr(md5(time()),0,$n); echo $pass; ?>
Copy to Clipboard
Related Snippets
PHP Random picture from folder
PHP md5 decoding
PHP Extracting words starting with ":" using PHP regex
PHP Count files in folder
PHP Looging with sessions
PHP IP Deny using Array
PHP Object Cloning
PHP Usefull Functions
PHP Array Looper with For and Explore
PHP Magic methods __wakeup() and __sleep() usage