Advertisement
Ribang

EBay Email Checker By PraGa

Feb 1st, 2018
5,386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.23 KB | None | 0 0
  1.  
  2.  
  3. <?php
  4. /** EBay Email Checker By PraGa
  5. email:pragausmh@gmail.com , Fb.com/praga.e
  6. **/
  7. @set_time_limit(0);
  8. function curl_($POSTFIELDS){
  9. $ch = curl_init();
  10. curl_setopt($ch, CURLOPT_URL, "https://reg.ebay.com/reg/ajax");
  11. curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36");
  12. curl_setopt($ch, CURLOPT_POSTFIELDS, $POSTFIELDS);
  13. curl_setopt($ch, CURLOPT_REFERER, "https://reg.ebay.com/reg/PartialReg??_trksid=m570.l2621");
  14. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 3);
  15. curl_setopt($ch, CURLOPT_HEADER, 0);
  16. curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  17. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  18. $result = curl_exec($ch);
  19. return $result;
  20. curl_close($ch);
  21. }
  22. ?>
  23.  
  24. <html>
  25. <head>
  26. <title>Ebay Email CheCker By PraGa</title>
  27. <style>
  28. body{background-color: #f5f5f5;
  29. }
  30. #text{
  31. width:800px;
  32. height:200px;
  33. }
  34. input[type=submit]{padding:2px 20px;
  35. background:#0397d5;
  36. color:#ffffff;
  37. border:0 none;
  38. cursor:pointer;
  39. -webkit-border-radius: 5px;
  40. border-radius: 5px;}
  41. input[type=text]{
  42. padding-bottom:4px;
  43. padding-top:4px;
  44. color:green;
  45. border:0 none;
  46. -webkit-border-radius: 1px;
  47. border-radius: 2px;
  48. }
  49. input[type=submit]:hover{ background-color: #78fc81; }
  50. </style>
  51. </head>
  52. <body>
  53.  
  54. <div style="width:950px; margin:0 auto; background-color:#f9f9f9;">
  55. <div align="center">
  56. <h1> Ebay Email Checker By PraGa</h1>
  57. <form method="POST" name="praga" action="">
  58. <textarea id="text" name="mail"><?php if(isset($_POST['mail'])){ echo $_POST['mail']; } ?></textarea><br>
  59. <input type="submit" value="Check!!" name="sub" />
  60. </form>
  61. </div>
  62. </div>
  63.  
  64. <?php
  65. if(isset($_POST['sub'])){
  66. $email_list=$_POST['mail'];
  67. $line = explode("\r\n",$email_list);
  68. $line = array_unique($line);
  69. $j=0;$k=0;$o=0;
  70. for($i=0;$i<count($line);$i++){
  71. if (filter_var($line[$i], FILTER_VALIDATE_EMAIL)) {
  72. echo "<font color='green'> valide ==> </font>".$line[$i]."...";
  73. $rez=curl_("email=".$line[$i]."&countryId=1&mode=5&eId=email");
  74. if (strpos($rez,'Your email address is already registered with eBay' ) ){
  75. echo "<font color='green'> Ok . <br> </font>";
  76. $live[$j]=$line[$i];
  77. $j++;
  78. flush();
  79. }else{
  80. echo "<font color='red'> Noo . <br> </font>";
  81. $die[$o]=$line[$i];
  82. $o++;
  83. }
  84. }else{
  85. echo "<font color='red'> Invalide mail </font>=>".$line[$i]."<br>";
  86. $not[$k]=$line[$i];
  87. $k++;
  88. }
  89. flush(); ob_flush();
  90.  
  91. }
  92. ?>
  93. <table border="0" width="100%">
  94. <tr>
  95. <td align='center' style="color:green"> Ebay emails (<?php echo @count($live);?>)</td>
  96. <td align='center' style="color:red"> Not Ebay Eamils (<?php echo @count($die);?>)</td>
  97. <td align='center' style="color:orange"> Invalid emails (<?php echo @count($not);?>)</td>
  98. </tr>
  99. <?php
  100. if(isset($live)){ echo "<tr><td align='center' ><textarea cols='43' rows='10'>";for($i=0;$i<count($live);$i++){echo $live[$i]."\n"; } echo "</textarea></td>";}
  101. if(isset($die)){ echo "<td align='center' ><textarea cols='43' rows='10'>";for($i=0;$i<count($die);$i++){echo $die[$i]."\n"; } echo "</textarea></td>";}else{echo "<td align='center' ><textarea cols='43' rows='10'></textarea>"; }
  102. if(isset($not)){ echo "<td align='center' ><textarea cols='43' rows='10'>";for($i=0;$i<count($not);$i++){echo $not[$i]."\n"; } echo "</textarea></td><tr></table>";}else{echo "<td align='center' ><textarea cols='43' rows='10'></textarea>";}
  103. }
  104. ?>
  105. </body>
  106. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement