Simple Password Generator Script

Started on the old forum in July 2012 · view the original in the archive · old links redirect here

2 replies · 1,167 views · started 14 years ago · 1 min read

2 participants
ajit55u Developer · 157 posts #1

here is the simple password generator script use if you thiks its useful for you or your site

They Make Rules & I Break Them

Attachments: password.zip
Ghost Senior · 366 posts #2

i created a 1 line password generator that can be easily added to any script i believe.

<?php
   /** 
   * 1 Line Random Password Generator
   * @Usage: 'Characters To Use', Start Point, End Point, (Currently Displays 10 Digit Passwords)
   **/
echo substr(str_shuffle('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$'), 0, 10);
  /** Add a Link To Refresh Page For Testing Purposes */
echo '<br/><a href="test.php">Refresh</a>';
?>
//
//
//
<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
ajit55u Developer · 157 posts #3

Ghost nice 1

They Make Rules & I Break Them

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close