professional-sql-01-lib-functions.php / php
<?php // return a string of random text of a desired length function random_text(rm_similar = false) { // create list of characters // remove similar looking characters that might cause confusion if (rm_similar) { unset(chars[1], chars[5], chars['B'], chars['O'], chars['S'], chars['V'], // generate the string of random text for (i = 0, i < i++) { chars); } return
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.