Your Ad Here

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




 Sponsors
 Links
gambling sites
dvd information
wwwstores
 Downloads
dzphp editor
EasyPHP
mysql_phpgenerator
php-studio-trial
phpdesigner_7_2_5
phpMyAdmin-3.4.3.2
/phptriad2-2-1
phpxedit_321
rapidphp 2011
WampServer2.1d-x64
WampServer2.1e-x32
xampp-win32-1.7.4-VC6-installer
xampplite-win32-1.7.3
 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
Image resizer(image)
Random string(string)
PHP and cURL example(internet)
 Random Article
  Network
Programming resources
Tutorials directory
Hosting resources
ASP site
Domain names
Progged
Maxi directory
bigarticle : free articles
A Code
Code N Tutorials
Get PHP
Programmers help




beginners PHP Copyright © 2004 onwards by beginnersPHP.