Your Ad Here

 Navigation
Home
Source code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links




 Sponsors
 Links
gambling sites
wwwstores
golfing products
 Downloads
 Misc
Webmaster Resources
Only PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming

Valid XHTML 1.0 Transitional


Valid CSS!


Random email address


Are you like me and pi**ed off with spammers, well a common way for there software to work is to scan pages on a website and look for mailto tags. Well lets help them this script will display 100 random email addresses

<?php
//this is how many times you wish the email
//addresses to display
$max_times = 100;
//random word function
function random_word()
{
$seed = (integer) md5(microtime());
mt_srand($seed);
$word = mt_rand(1,99999999);
$word = substr(md5($word), mt_rand(0, 19), mt_rand(6, 12));
return $word;
}
//loop $max_times
for($i = 0;$i <= $max_times;$i++)
{
$msg = random_word();
$msg2 = random_word();

echo "<a href=\"mailto:$msg@$msg2.com\">email address $i</a>";
echo "<br>";
}
?>

In Action

Random email addresses




Books
 Sponsors
 Random Code
watermark an image example(image)
create a database(database)
Show ads in a certain category(Wordpress)
 Random Article
  Network
Programming resources
Tutorials directory
Hosting resources
ASP site
Domain names
Progged
Maxi directory
bigarticle : free articles
A Code
Code N Tutorials




beginners PHP Copyright © 2004 onwards by beginnersPHP.