You are on page 1of 3

<title>Email Extrator By Dr LM10</title>

<link href="http://assets4.fcbarcelona.com/images/favicon.4c3e7fc3b.png"
rel="shortcut icon" sizes="32x32" />
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1256" />
<style type="text/css">
.style1 {
text-align: center;
}
</style>
</head>
<body >

<form method="post">
<div class="style1">
<textarea name="emails" cols="30" rows="10"></textarea>
<br />
<input type="submit" value="Start" />

</div>
</form>
<?PHP

$emails = $_POST['emails'];
$ex = explode("\n",$emails);
$count = count($ex);
if(isset($emails)&&$count>=1){
echo "<center><font color = 'red'><b>$count </font>Number of emails
</b></center><br />";
}else{
echo "<center>
0 Mails </center>";
exit;}

if(isset($emails)){

for($i=0;$i<=$count;$i++){
$d = strtolower($ex[$i]);

if(strstr($d,"hotmail") || strstr($d,"live") || strstr($d,"msn") ||


strstr($d,"outlook")){
$hotmail.=$d;
$nh = $nh + 1;
}else{
if(strstr($d,"yahoo") || strstr($d,"ymail")){
$yahoo.=$d;
$ny = $ny + 1;
}else{
if(strstr($d,"gmail") || strstr($d,"googlemail") ){
$gmail.=$d;
$ng = $ng + 1;
}else{
if(strstr($d,"aol") ){
$aol.=$d;
$na = $na + 1;
}else{
if(strstr($d,"mail.ru") ){
$mailru .=$d;
$nr = $nr + 1;
}else{
if(strstr($d,"wanadoo") ){
$wanadoo .=$d;
$nw = $nw + 1;
}else{
if(strstr($d,"ntlworld") ){
$ntlworld .=$d;
$nt = $nt + 1;
}else{
if(strstr($d,"gmx") ){
$gmx .=$d;
$ngm = $ngm + 1;
}else{
if(strstr($d,"@web.") ){
$web .=$d;
$nw2 = $nw2 + 1;
}else{

$ather .=$d;
$nn=$nn + 1;
}

}
}
}
}

}
}
}
?>
<center><table style="width: 30%">
<tr>
<td><center>Hotmail ( <?echo $nh;?> ) </center><textarea name="hotmailx" cols="30"
rows="10" ><?echo $hotmail;?></textarea></td>
<td><center>Gmail ( <?echo $ng;?> )</center><textarea name="gmailx" cols="30"
rows="10" ><?echo $gmail;?></textarea></td>
<td><center>Aol ( <?echo $na;?> )</center><textarea name="aolxx" cols="30"
rows="10" ><?echo $aol;?></textarea></td>
<td><center>Yahoo ( <?echo $ny;?> )</center><textarea name="yahoox" cols="30"
rows="10" ><?echo $yahoo;?></textarea></td>
<td><center>Mail.ru( <?echo $nr;?> )</center><textarea name="othersx" cols="30"
rows="10" ><?echo $mailru;?></textarea></td></tr>
<tr>
<td><center>Wanadoo( <?echo $nw;?> )</center><textarea name="othersx" cols="30"
rows="10" ><?echo $wanadoo;?></textarea></td>
<td><center>Ntlworld( <?echo $nt;?> )</center><textarea name="othersx" cols="30"
rows="10" ><?echo $ntlworld;?></textarea></td>
<td><center>Gmx( <?echo $ngm;?> )</center><textarea name="othersx" cols="30"
rows="10" ><?echo $gmx;?></textarea></td>
<td><center>Web( <?echo $nw2;?> )</center><textarea name="othersx" cols="30"
rows="10" ><?echo $web;?></textarea></td>
<td><center>Other mails( <?echo $nn-1;?> )</center><textarea name="othersx"
cols="30" rows="10" ><?echo $ather;?></textarea></td>

</tr>
</table></center><center>
</body>

You might also like