Q:

Write a PHP script to generate random 11 characters string of letters and numbers

0

Write a PHP script to generate random 11 characters string of letters and numbers.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

<?php
$x = rand(10e12, 10e16);
echo base_convert($x, 10, 36)."\n";
?>

Sample Output:

3b6jfwh18v2

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now