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
low cost magazines
domain names
dvd information
 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
check if a site id sown(internet)
GD exists(image)
Page last accessed(date/time)
 Random Article
  Network
Programming resources
Tutorials directory
Clickbank mall
sell software
Free auctions, low cost stores
UK products
US products
Gambling directory
Sexy free wallpapers
Hosting resources
ASP site
DVD site
Domain names
Dating site
Software directory
Maxi directory
bigarticle : free articles




beginners PHP Copyright © 2004 onwards by beginnersPHP.