note 96080 added to function.chr
| From: | robbinpruijn at hotmail dot com | Date: | Sun, 07 Feb 2010 16:36:27 +0000 |
| Subject: | note 96080 added to function.chr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165733@lists.php.net to get a copy of this message | ||
<?php
function password(){
$pw = chr(rand(65,126));
$pw .= chr(rand(65,126));
$pw .= chr(rand(65,126));
$pw .= chr(rand(65,126));
$pw .= chr(rand(65,126));
$pw .= chr(rand(65,126));
$pw .= chr(rand(65,126));
$pw .= chr(rand(65,126));
return $pw;
}
?>
echo password( ) ;
----
Server IP: 213.249.64.162
Probable Submitter: 77.169.102.228
----
Manual Page -- http://www.php.net/manual/en/function.chr.php
Edit -- https://master.php.net/note/edit/96080
Del: integrated -- https://master.php.net/note/delete/96080/integrated
Del: useless -- https://master.php.net/note/delete/96080/useless
Del: bad code -- https://master.php.net/note/delete/96080/bad+code
Del: spam -- https://master.php.net/note/delete/96080/spam
Del: non-english -- https://master.php.net/note/delete/96080/non-english
Del: in docs -- https://master.php.net/note/delete/96080/in+docs
Del: other reasons-- https://master.php.net/note/delete/96080
Reject -- https://master.php.net/note/reject/96080
Search -- https://master.php.net/manage/user-notes.php