01 | | 02 | | 03 | | 04 | | 05 | | 06 | | 07 | | 08 | | 09 | | 10 | | 11 | | 12 | | 13 | | 14 | | 15 | | 16 | | 17 | | 18 | | 19 | | 20 | | 21 | | 22 | | 23 | | 24 | | 25 | | 26 | | 27 | | 28 | | 29 | | 30 | | 31 | | 32 | | 33 | | 34 | | 35 | | 36 | | 37 | | 38 | | 39 | | 40 | | 41 | | 42 | | 43 | | 44 | | 45 | | 46 | | 47 | | 48 | | 49 | | 50 | | 51 | | 52 | | 53 | | 54 | | 55 | | 56 | | 57 | | 58 | | 59 | | 60 | | 61 | | 62 | | 63 | | 64 | | 65 | | 66 | | 67 | | 68 | | 69 | | 70 | | 71 | | 72 | | 73 | | 74 | | 75 | | 76 | | 77 | | 78 | | 79 | | 80 | | 81 | | 82 | | 83 | | 84 | | 85 | | 86 | | 87 | | 88 | | 89 | | 90 | | 91 | | 92 | | 93 | | 94 | | 95 | | 96 | | 97 | | 98 | | 99 | | 100 | | 101 | | 102 | | 103 | | 104 | | 105 | | 106 | | 107 | | 108 | | 109 | | 110 | | 111 | | 112 | | 113 | | 114 | | 115 | | 116 | | 117 | | 118 | | 119 | | 120 | | 121 | | 122 | | 123 | | 124 | | 125 | | 126 | | 127 | | 128 | | 129 | | 130 | | 131 | | 132 | | 133 | | 134 | | 135 | | 136 | | 137 | | 138 | | 139 | | 140 | | 141 | | 142 | | 143 | | 144 | | 145 | | 146 | | 147 | | 148 | | 149 | | 150 | | 151 | | 152 | | 153 | | 154 | | 155 | | 156 | |
|
<?php
| /*---------------------------------------------------------------*/
| /*
| Titre : Générateur d'emails aléatoires
|
| URL : https://phpsources.net/code_s.php?id=1069
| Auteur : NuggaN85
| Website auteur : https://tchatland.fr
| Date édition : 03 Avril 2019
| Date mise à jour : 05 Sept 2019
| Rapport de la maj:
| - fonctionnement du code vérifié
| */
| /*---------------------------------------------------------------*/
|
| $limit = 5000; // Nombre d'emails a générer
| $page = '';
| for ($i = 0; $i < $limit; $i++) {
| $page .= generate_emails();
| }
|
| function generate_emails() {
| $email = '';
| $names = array ('Annabel', 'Asher', 'Atticus', 'August', 'Butch',
| 'Clementine', 'Daisy', 'Dashiell', 'Delilah', 'Dexter', 'Dixie', 'Duke', 'Edie',
| 'Elvis', 'Flora', 'Frances', 'Frank', 'Georgia', 'Gus', 'Hazel', 'Homer',
| 'Hopper', 'Hudson', 'Hugo', 'Ike', 'India', 'Ione', 'Iris', 'Isla', 'Ivy',
| 'June', 'Kai', 'Kingston', 'Lennon', 'Leonora', 'Leopold', 'Levi', 'Lila',
| 'Lionel', 'Lola', 'Luca', 'Lulu', 'Magnus', 'Mamie', 'Matilda', 'Millie', 'Milo'
| , 'Minnie', 'Moses', 'Olive', 'Orson', 'Oscar', 'Otis', 'Pearl', 'Piper',
| 'Poppy', 'Ray', 'Roman', 'Romy', 'Roscoe', 'Ruby', 'Rufus', 'Sadie', 'Scarlett',
| 'Sebastian', 'Stella', 'Stellan', 'Sullivan', 'Talullah', 'Theo', 'Violet');
| $extensions = array('.be', '.biz', '.ch', '.com', '.co', '.co.uk', '.de'
| , '.es', '.eu', '.fr', '.gr', '.im', '.info', '.io', '.it', '.lu', '.lt', '.me',
| '.mobi', '.mx', '.net', '.nl', '.org', '.pro', '.pt', '.re', '.ru', '.se',
| '.tel', '.tv', '.aero', '.biz', '.com', '.coop', '.info', '.mobi', '.name',
| '.net', '.org', '.pro', '.tel', '.travel', '.xxx', '.ag', '.ar.com', '.br.com',
| '.bz', '.ca', '.cc', '.co', '.gd', '.gs', '.gy', '.hn', '.ht', '.la', '.lc',
| '.ms', '.mx', '.pe', '.pm', '.qc.com', '.sx', '.tc', '.us', '.us.com', '.us.org'
| , '.uy.com', '.vc', '.vg', '.at', '.be', '.cat', '.ch', '.co.uk', '.com.de',
| '.de', '.de.com', '.dk', '.es', '.eu', '.eu.com', '.fi', '.fr', '.gb.com',
| '.gb.net', '.gg', '.gr', '.gr.com', '.hu.com', '.hu.net', '.im', '.it', '.je',
| '.li', '.lt', '.lu', '.lv', '.me', '.me.uk', '.nl', '.no', '.no.com', '.nu',
| '.org.uk', '.pl', '.pt', '.ro', '.ru', '.ru.com', '.se', '.se.com', '.se.net',
| '.uk.com', '.uk.net', '.ru', '.ae.org', '.af', '.am', '.asia', '.cn', '.cn.com',
| '.cx', '.fm', '.hk', '.in', '.in.net', '.io', '.jp', '.jp.net', '.jpn.com',
| '.ki', '.kr.com', '.mn', '.nf', '.nz', '.ph', '.pw', '.sa.com', '.sb', '.tl',
| '.tv', '.tw', '.wf', '.ws', '.cm', '.mg', '.mu', '.re', '.sc', '.so', '.tf',
| '.yt', '.za', '.za.com' );
| $DomainPartA = array('Babble', 'Buzz', 'Blog', 'Blue', 'Brain', 'Bright'
| , 'Browse', 'Bubble', 'Chat', 'Chatter', 'Dab', 'Dazzle', 'Dev', 'Digi', 'Edge',
| 'Feed', 'Five', 'Flash', 'Flip', 'Gab', 'Giga', 'Inno', 'Jabber', 'Jax', 'Jet'
| , 'Jump', 'Link', 'Live', 'My', 'N', 'Photo', 'Pod', 'Real', 'Riff', 'Shuffle',
| 'Snap', 'Skip', 'Tag', 'Tek', 'Thought', 'Top', 'Topic', 'Twitter', 'Word',
| 'You', 'Zoom');
| $DomainPartB = array( 'bean', 'beat', 'bird', 'blab', 'box', 'bridge',
| 'bug', 'buzz', 'cast', 'cat', 'chat', 'club', 'cube', 'dog', 'drive', 'feed',
| 'fire', 'fish', 'fly', 'ify', 'jam', 'links', 'list', 'lounge', 'mix', 'nation',
| 'opia', 'pad', 'path', 'pedia', 'point', 'pulse', 'set', 'space', 'span',
| 'share', 'shots', 'sphere', 'spot', 'storm', 'ster', 'tag', 'tags', 'tube',
| 'tune', 'type', 'verse', 'vine', 'ware', 'wire', 'works', 'XS', 'Z', 'zone',
| 'zoom' );
| $DomainPartC = array('Ai', 'Aba', 'Agi', 'Ava', 'Cami', 'Centi', 'Cogi',
| 'Demi', 'Diva', 'Dyna', 'Ea', 'Ei', 'Fa', 'Ge', 'Ja', 'I', 'Ka', 'Kay', 'Ki',
| 'Kwi', 'La', 'Lee', 'Mee', 'Mi', 'Mu', 'My', 'Oo', 'O', 'Oyo', 'Pixo', 'Pla',
| 'Qua', 'Qui', 'Roo', 'Rhy', 'Ska', 'Sky', 'Ski', 'Ta', 'Tri', 'Twi', 'Tru', 'Vi'
| , 'Voo', 'Wiki', 'Ya', 'Yaki', 'Yo', 'Za', 'Zoo');
| $DomainPartD = array('ba', 'ble', 'boo', 'box', 'cero', 'deo', 'del',
| 'do', 'doo', 'gen', 'jo', 'lane', 'lia', 'lith', 'loo', 'lium', 'mba', 'mbee',
| 'mbo', 'mbu', 'mia', 'mm', 'nder', 'ndo', 'ndu', 'noodle', 'nix', 'nte', 'nti',
| 'nu', 'nyx', 'pe', 're', 'ta', 'tri', 'tz', 'va', 'vee', 'veo', 'vu', 'xo', 'yo'
| , 'zz', 'zzy', 'zio', 'zu');
|
| $rand = mt_rand( 0, 5 );
|
| $A = "";
| $B = "";
|
| $name = "";
|
| Switch ($rand) {
| case 0:
| $A = $names[ mt_rand( 0, count($names) - 1) ];
| $B = $DomainPartA[ mt_rand( 0, count($DomainPartA) - 1) ];
| break;
| case 1:
| $A = $names[ mt_rand( 0, count($names) - 1) ];
| $B = $DomainPartC[ mt_rand( 0, count($DomainPartC) - 1) ];
| break;
| case 2:
| $A = $names[ mt_rand( 0, count($names) - 1) ];
| $B = $names[ mt_rand( 0, count($names) - 1) ];
| break;
| case 3:
| $A = $names[ mt_rand( 0, count($names) - 1) ];
| break;
| case 4:
| $A = $DomainPartA[ mt_rand( 0, count($DomainPartA) - 1) ];
| break;
| case 5:
| $A = $DomainPartC[ mt_rand( 0, count($DomainPartC) - 1) ];
| break;
| }
|
| If ($B != ""){
| $rand = mt_rand( 0, 1 );
|
| If ($rand == 0){
| $email = $A . '.' . $B;
| $name = $A . ' ' . $B;
| }
| else
| {
| $email = $B . '.' . $A;
| $name = $B . ' ' . $A;
| }
|
| }
| else
| {
| $email = $A;
| $B = $names[ mt_rand( 0, count($names) - 1) ];
| $name = $B . ' ' . $A;
| }
|
| $rand = mt_rand( 0, 3 );
|
| Switch ($rand) {
| case 0:
| $A = $DomainPartA[ mt_rand( 0, count($DomainPartA) - 1) ];
| $B = $DomainPartB[ mt_rand( 0, count($DomainPartB) - 1) ];
| break;
| case 1:
| $A = $DomainPartC[ mt_rand( 0, count($DomainPartC) - 1) ];
| $B = $DomainPartD[ mt_rand( 0, count($DomainPartD) - 1) ];
| break;
| case 2:
| $A = $DomainPartA[ mt_rand( 0, count($DomainPartA) - 1) ];
| $B = $DomainPartD[ mt_rand( 0, count($DomainPartD) - 1) ];
| break;
| case 3:
| $A = $DomainPartC[ mt_rand( 0, count($DomainPartC) - 1) ];
| $B = $DomainPartB[ mt_rand( 0, count($DomainPartB) - 1) ];
| break;
| }
|
| $email .= '@';
| $email .= $A . $B;
| $email .= $extensions[ mt_rand( 0, count($extensions) - 1) ];
| $email = $name. ' <a href="mailto:' . $email . '">' . $email .
| "</a></br>\n";
| return $email;
| }
| ?>
|
| |
|