Generating random strings within PHP

You may use this code snips to make your own random passwords or any other random strings. In this tutorial we need to use two functions of PHP: rand() and chr() .

 

Share this Listing