note 23372 added to function.rand
| From: | noisehnois at sigilodoemail dot org dot net | Date: | Tue, 16 Jul 2002 20:27:10 +0000 |
| Subject: | note 23372 added to function.rand | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33182@lists.php.net to get a copy of this message | ||
this is a good idea:
<?
$firsts = rand(0,999);
$seconds = rand(0,999);
$thirds = rand(0,999);
$fourths = rand(0,999);
$total = $firsts.$seconds.$thirds.$fourths;
echo $total;
?>
with that idea into your head, u can make a random number with how many caracters u do wish whatever
the o.s. ... Try it !
Thank You Very Much !
--
http://www.php.net/manual/en/function.rand.php
http://master.php.net/manage/user-notes.php?action=edit+23372
http://master.php.net/manage/user-notes.php?action=delete+23372
http://master.php.net/manage/user-notes.php?action=reject+23372