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 Web-based Link Generator using PHP
PHP Calendar
PHP Ban IP Address
PHP Fibonacci Numbers
PHP Another Very Basic Counter
PHP Connect to Microsoft SQL Server
PHP Query redirection
PHP strtolower() and strtoupper() alternatives
PHP Custom MIME Types for Web-Based File Uploads
PHP Looging with sessions