/ Published in: PHP

Useful snippets for php developers.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php /************* *@l - length of random string */ function generate_rand($l){ $c= "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; for($i=0; $i<$l; $i++) { } return $rand; } ?>
URL: http://webdeveloperplus.com/php/21-really-useful-handy-php-code-snippets/
Comments
