Fake Email
Ein Script, um falsche E-Mail-Adressen zu generieren in der Hoffnung, dass diese von Spambots aufgenommen werden und deren Datenbanken verwässern Script: <?php $tlds = array("ac","ad","ae","af","ag","ai","al","am","an","ao","aq","ar","as","at","au","aw","az","ba","bb","bd","be","bf","bg","bh","bi","bj","bm","bn","bo","br","bs","bt","bv","bw","by","bz","ca","cc","cd","cf","cg","ch","ci","ck","cl","cm","cn","co","cr","cu","cv","cx","cy","cz","de","dj","dk","dm","do","dz","ec","ee","eg","eh","er","es","et","fi","fj","fk","fm","fo","fr","ga","gd","ge","gf","gg","gh","gi","gl","gm","gn","gp","gq","gr","gs","gt","gu","gw","gy","hk","hm","hn","hr","ht","hu","id","ie","il","im","in","io","iq","ir","is","it","je","jm","jo","jp","ke","kg","kh","ki","km","kn","kp","kr","kw","ky","kz","la","lb","lc","li","lk","lr","ls","lt","lu","lv","ly","ma","mc","md","mg","mh","mk","ml","mm","mn","mo","mp","mq","mr","ms","mt","mu","mv","mw","mx","my","mz","na","nc","ne","nf","ng","ni","nl","no","np","nr","nu","nz","om","pa","pe","pf","pg","ph","pk","pl","pm","pn","pr","ps","pt","pw","py","qa","re","ro","ru","rw","sa","sb","sc","sd","se","sg","sh","si","sj","sk","sl","sm","sn","so","sr","st","sv","sy","sz","tc","td","tf","tg","th","tj","tk","tm","tn","to","tp","tr","tt","tv","tw","tz","ua","ug","uk","um","us","uy","uz","va","vc","ve","vg","vi","vn","vu","wf","ws","ye","yt","yu","za","zm","zw","aero","biz","com","coop","edu","gov","info","int","mil","museum","name","net","org","pro"); $letters="abcdefghijklmnopqrstuvwxyz"; $sep_array = array("",".","_"); for ($x=0;$x<20;$x++) { mt_srand ((double)microtime()*1000000); $user_p1_length = mt_rand(5,8); $user_p2_length = mt_rand(5,8); $domain_length = mt_rand(5,15); $user_p1 = ""; $user_p2 = ""; $domain = ""; for($i=0;$i<$user_p1_length;$i++) { $user_p1.=substr($letters,mt_rand(0,strlen($letters)-1),1); } $key = mt_rand(0,count($sep_array)-1); $separator = $sep_array[$key]; for($i=0;$i<$user_p2_length;$i++) { $user_p2.=substr($letters,mt_rand(0,strlen($letters)-1),1); } for($i=0;$i<$domain_length;$i++) { $domain.=substr($letters,mt_rand(0,strlen($letters)-1),1); } $key = mt_rand(0,count($tlds)-1); $tld = $tlds[$key]; $name_1 = strtoupper(substr($user_p1,0,1)).substr($user_p1,1); $name_2 = strtoupper(substr($user_p2,0,1)).substr($user_p2,1); echo $name_1." ".$name_2; ?>: <a href="mailto:<?php echo $user_p1.$separator.$user_p2."@".$domain.".".$tld; ?>"><?php echo $user_p1.$separator.$user_p2."@".$domain.".".$tld; ?></a><?php if ($x<19) echo ", "; } ?>