Introduzca la dirección de correo electrónico para comprobar si tienen alguna cuenta de amazo


en este scripts podemos comprobar si los email estan  funcionando en amazo 
este es scrpts esta echo en PHP 


<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<head>





<?php
echo

//////////////////Ш§Щ„ШµЩЃШ­Ш© Ш§Щ„Ш§Щ€Щ„Щ‰////////////////////
  "<head>


</head>
 <div  align=\"center\">
<pre>&nbsp;</pre>
</center>";
$emails = $_POST['emails'];

print '<form method="POST"  class="auto-style1" style="width:669px; height: 400px";>
<br>
<br><strong>
<p class="auto-style5"> Enter email address to check </p></strong>
<textarea rows="10" name="emails" cols="48"class="auto-style112">'.$emails.'</textarea></p>
      <br>
<div class="auto-style4" >
<font size="-1" face="">


<input name="Submit" type="submit" value="Check" /></font></div>

<br>&nbsp;<br><br><br>

</form>';

//////////////////// Ш§Щ„ШіШіЩѓШ±ШЁШЄ//////////////////////
if (!empty($emails)) {
$emails = explode("\n", $emails);
$yes = 0;
$not = 0;
$inv = 0;
$count = 1;
print "<p align=\"left\">Checking <font color=\"#464646\"> <b>".count($emails)."</b></font> emails ....<br></p><p align=\"left\">";
foreach ( $emails as $email ) {
    $email = trim($email);
    print $count .". Checking <font color=\"#464646\">".$email."</font>  ..... <b>";
    $count++;
     if(filter_var($email, FILTER_VALIDATE_EMAIL)){
$check = @file_get_contents('https://www.amazon.com/ap/register?_encoding=UTF8&openid.assoc_handle=usflex&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&openid.pape.max_auth_age=0&openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dgno_newcust?&email='.$email.'') or Die('<b><font color="#FF0000">Server Error - Can\'t Check </font></b>');
if(!strpos($check, 'E-mail Address')) {
print "<font color=\"#FF0000\">No</font></b> <br>";
$not++;
$vaild_no .=$email."\n";
}
else {
print "<font color=\"#07C507\">Yes</font></b> <br>";
$yes++;
$vaild_yes .=$email."\n";
}
}
else {
print "<font color=\"#FF0000\">Invaild email</font></b> <br>";
$inv++;
$invaild .=$email."\n";
}
}

/// Ш§Ш±Щ‚Ш§Щ… Ш§Щ„Щ†ШЄШ§Ш¦Ш¬ ///
print "
<p>NuMbEr Of Amazon eMaiLs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : <font color=\"#07C507\"><b>$yes</b></font>
<br>NuMbEr Of Not Amazon eMaiLs : <font color=\"#FF0000\"> <b>$not</b></font>
<br>NuMbEr Of iNvAliD eMaiLs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    :&nbsp;<font color=\"#FF0000\"><b>$inv</b></font><br></p>";
/// Ш§Щ„Ш­Щ‚Щ€Щ„ ///
print '
</p><p><table border="1" width="100%" class="auto-style1" style="height: 245px">
<tr>
<td>Amazon eMaiLs (<font color="#07C507"><b>'.$yes.'</b></font>)</td>
<td>Not Amazon eMaiLs (<font color="#FF0000"><b>'.$not.'</b></font>)</td>
<td>Invalid emails (<font color="#FF0000"><b>'.$inv.'</b></font>)</td>
</tr>
<tr>
<td><textarea  rows="10" name="S1" cols="43" class="auto-style112">'.$vaild_yes.'</textarea></td>
<td><textarea rows="10" name="S2" cols="43" class="auto-style112">'.$vaild_no.'</textarea></td>
<td><textarea rows="10" name="S3" cols="43" class="auto-style112">'.$invaild.'</textarea></td>
</tr>
</table></p>';
}

//////////////////////////////////////////

?>



0 comentarios:

Publicar un comentario