#******************************************************************************
# function to create random keys for email validation
#******************************************************************************
function randomkeys($length)
{
$pattern = "123456789ABCDEFGHIJKLMNPQRSTUVWXYZ";
for($i=0;$i<$length;$i++)
{
$key .= $pattern{rand(0,33)};
}
return $key;
}
#******************************************************************************
Showing posts with label function to create random keys for email validation. Show all posts
Showing posts with label function to create random keys for email validation. Show all posts
[Wednesday, January 02, 2008
|
0
comments
]
Popular Posts
- MYSQL joins
- function to check whether the year given is a leap year or not
- Elgg : The most popular open source social networking platform
- How to create a plugin in elgg.
- some php questions
- creating dynamic elements in HTML using Javascript.
- question regarding socket
- MYSQL UNION
- php question
- php Questions