Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

Make money selling software. Check this out here

Hosted clickbank mall. Check this out here




   Misc

   Amazon

   Links

    


Random passwords

 

A random password example

Code

<?php
function random_password ()
{
$seed = (integer) md5(microtime());
mt_srand($seed);
$password = mt_rand(1,99999999);
$password = substr(md5($password), mt_rand(0, 19), mt_rand(6, 12));
return $password;
}
?>
<?php
$msg = random_password();
echo $msg;
?>

 

 


 

 

 

Example

7c7b3405430



 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
processor information in an excel table(VBScript)
decimal to octal conversion(PHP)
Create a database(VB)
Time based greeting(PHP)
Wired news(PHP)
Random passwords(VB)
Simple email example(C Sharp)
move a file(C Sharp)

    




Copyright © 2004 by programmershelp.co.uk