PDA

View Full Version : [Script] Filter Emails



fedi96
05-23-2015, 01:12 PM
hi all
this is a simple php script that allow you to Split emails


http://i.imgur.com/i0P5EsV.png


you need just to upload it to your hosting or your own server :


<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="Goo" />

</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>
No email </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>ather mails( <?echo $nn-1;?> )</center><textarea name="othersx" cols="30" rows="10" ><?echo $ather;?></textarea></td>

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

download script : sc (http://www.gulfup.com/?Xnbhwj)
live script uploaded : http://fedi.96.lt/sc.php

medsamy
05-23-2015, 01:38 PM
thanks fedi96, that should be very useful

atheus
05-24-2015, 09:54 PM
nice goodjob fedi

Co0oL
05-24-2015, 10:53 PM
fedi96 Did you make this ?

IVLordStorm
05-24-2015, 10:55 PM
That [email protected] ... :D

fedi96
05-24-2015, 11:27 PM
thanks fedi96, that should be very useful


nice goodjob fedi
np guys

fedi96 Did you make this ?
no

That [email protected] ... :D

:shout: