On Mon, Apr 23, 2001 at 11:10:48PM -0700, Randy Johnson wrote:
> Is there a way to generate a random set of characters ranging from 8 to 12
> characters and numbers where it is crucial that the letters and numbers are
> truly random because I need to create temporary files for people to download
>
}
SL.
- Original Message -
From: "Randy Johnson" <[EMAIL PROTECTED]>
Cc: "Php-General" <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 12:10 AM
Subject: [PHP] random letters and numbers
> Is there a way to generate a random set of characters ranging
Is there a way to generate a random set of characters ranging from 8 to 12
characters and numbers where it is crucial that the letters and numbers are
truly random because I need to create temporary files for people to download
information.
Any links/suggestions would be greatly appreciated
Than
Sure - use md5()
--Joe
On Sat, Mar 24, 2001 at 12:05:49PM -0500, Randy Johnson wrote:
> Is there an easy way to create random numbers and letters for a file example
>
>
> http://www.mydomain.com/1w2e3rff.txt
>
> and then after they download it have it be deleted off the server?
>
>
> than
Hello,
I use a random password function to do just that,
function randomPassword($length = 8) {
// all the chars we want to use
$all = explode( " ",
"a b c d e f g h i j k l m n o p q r s t u v w x y z "
. "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z "
.
Is there an easy way to create random numbers and letters for a file example
http://www.mydomain.com/1w2e3rff.txt
and then after they download it have it be deleted off the server?
thanks
randy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
6 matches
Mail list logo