Jump to content
Sign in to follow this  
geeko

apple email checker

Recommended Posts

APPLE

<?php

echo "<head>
<style type=\"text/css\"><!--
body
{
background-color: #333333;
font-size: 10pt;
}
body,td,th {
color: #cccccc;
}
h2
{
color: #FFCC00;
}
.business{
color:yellow;
}
.premier{
color:#00FF00;
}
.verified{
color:#006DB0;
}

body {font-family: 'Open Sans', sans-serif; font-size:12px}
hr {border: 1px inset #E5E5E5}

#form-container
{
border: 1px solid #ddd;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
box-shadow: 0px 0px 15px #888;
-moz-box-shadow: 0px 0px 15px #888;
-webkit-box-shadow: 0px 0px 15px #888;
margin: 30px auto;
padding: 10px;
width: 95%;
text-shadow:1px 1px 4px rgba(0,0,0,0.3);
}

input[type='text'], textarea, select
{
border: 1px solid #ccc;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .15) inset;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .15) inset;
box-shadow: 0 1px 2px rgba(0, 0, 0, .15) inset;
color: #424242;
font-family: 'Open Sans', sans-serif;
font-size: 13px;
outline: none;
padding: 2px;
-moz-transition: border .2s linear, box-shadow .2s linear;
-webkit-transition: border .2s linear, -webkit-box-shadow .2s linear;
}

input[type='text']:focus, input[type='checkbox']:focus, input[type='radio']:focus, textarea:focus, select:focus
{
border: 1px solid #80bfff;
-moz-box-shadow: 0 0 3px #80bfff, 0 1px 2px rgba(0, 0, 0, .15) inset;
-webkit-box-shadow: 0 0 3px #80bfff, 0 1px 2px rgba(0, 0, 0, .15) inset;
box-shadow: 0 0 3px #80bfff, 0 1px 2px rgba(0, 0, 0, .15) inset;
}

textarea {width:99.5%; resize:none}
input[type=text] {width:30px; text-align:center}


/* =buttons---------------------------------------------- */
a.button:link, a.button:visited, button, input[type='submit']
{
background: #eaeaea;
background: -moz-linear-gradient(top, #efefef, #d8d8d8) #d8d8d8;
background: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#d8d8d8)) #d8d8d8;
background: linear-gradient(top, #efefef, #d8d8d8) #d8d8d8;
border: 1px solid #ababab;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset;
box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset;
color: #707070;
font-family: 'Open Sans', sans-serif;
font-size: 12px;
-webkit-font-smoothing: antialiased;
font-weight: bold;
margin: 0;
outline: none;
padding: 5px 10px;
text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, .5);
}

a.button:hover, button:hover, input[type='submit']:hover
{
background: #f1f1f1;
background: -moz-linear-gradient(top, #f6f6f6, #e3e3e3) #e3e3e3;
background: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3)) #e3e3e3;
background: linear-gradient(top, #f6f6f6, #e3e3e3) #e3e3e3;
cursor: pointer;
}

a.button:focus, button:focus, input[type='submit']:focus
{
background: -moz-linear-gradient(top, #f6f6f6, #e3e3e3) #e3e3e3;
background: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3)) #e3e3e3;
background: linear-gradient(top, #f6f6f6, #e3e3e3) #e3e3e3;
border: 1px solid #80bfff;
-moz-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset;
-webkit-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset;
box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset;
}

a.button:active, a.button.active, button:active, button.active, input[type='submit']:active, input[type='submit'].active
{
background: #e3e3e3;
background: -moz-linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f;
background: -webkit-gradient(linear, left top, left bottom, from(#e3e3e3), to(#f6f6f6)) #1b468f;
background: linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}



--></style>
<title>Apple Valid Email Checker</title>
</head><div align=\"center\"></center>";

$emails = $_POST['emails'];
print '



<div id="form-container"> <form method="POST">

<p align="center"><font face="Times New Roman" size="6">Apple Valid Email Checker</font></p>

<p><textarea rows="10" name="emails" cols="48">'.$emails.'</textarea></p>
<p><input type="submit" value="Submit" name="B1"></p>
</form> </div>';
if (!empty($emails)) {
$emails = explode("\r\n", $emails);
$yes = 0;
$not = 0;
$inv = 0;
$count = 1;
print "<p align=\"left\">Checking <font color=\"#FFFFFF\"> <b>".count($emails)."</b></font> emails ....<br></p><p align=\"left\">";
foreach ( $emails as $email ) {
$email = trim($email);
print $count .". Checking <b><font color=\"#FFFFFF\">".$email."</font> ..... </b>";
$count++;
if(filter_var($email, FILTER_VALIDATE_EMAIL)){
$_CheckAction = @file_get_contents('https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/validateAppleID?appleid='.$email.'') or Die('<b><font color="#FF0000">Server Error - Can\'t Check </font></b>');
if(!preg_match("/111/",$_CheckAction)) {
print "<font size=\"3\" color=\"#7FFF00\">Yes</font> <br>";
$yes++;
$vaild_yes .=$email."\n";
}
else {
print "<font color=\"#FF0000\">NO</font><br>";
$not++;
$vaild_no .=$email."\n";
}
}
else {
print "<font color=\"#FF0000\">Invaild email</font><br>";
$inv++;
$invaild .=$email."\n";
}
}

print '<p><table border="0" width="100%">




<tr>
<td><p align="center"><font face="Times New Roman" size="4">Apple emails</font> <b>(<font color="#7FFF00"><b>'.$yes.'</b></font>)</b> </p></td>
<td><p align="center"><font face="Times New Roman" size="4">Not Apple emails</font> <b>(<font color="#FF0000">'.$not.'</font>)</b> </p> </td>
<td><p align="center"><font face="Times New Roman" size="4">Invalid emails</font> <b>(<font color="#FF0000">'.$inv.'</font>)</b> </p> </td>
</tr>

<tr>




<td><div id="form-container1"><textarea rows="10" name="S1" cols="43">'.$vaild_yes.'</textarea></div></td>
<td><div id="form-container1"><textarea rows="10" name="S2" cols="43">'.$vaild_no.'</textarea></div></td>
<td><div id="form-container1"><textarea rows="10" name="S3" cols="43">'.$invaild.'</textarea></div></td>
</tr>
</table></p>'

;
}

?>

Share this post


Link to post
Share on other sites

Parse error: syntax error, unexpected '=', expecting ']' in /home/paragon6/public_html/xa.php on line 162

Stii sa faci si pentru alte site-uri ?! @geeko

Share this post


Link to post
Share on other sites
I-a modificat forumul codul cred:)

Schimba [ MENTION=9633]file[ /MENTION]_get_contents in file_get_contents

Perfect , functioneaza ! Thnkx UPP

Share this post


Link to post
Share on other sites
<?php

echo "<head>

<style type=\"text/css\"><!--

body

{

background-color: #333333;

font-size: 10pt;

}

body,td,th {

color: #cccccc;

}

h2

{

color: #FFCC00;

}

.business{

color:yellow;

}

.premier{

color:#00FF00;

}

.verified{

color:#006DB0;

}

body {font-family: 'Open Sans', sans-serif; font-size:12px}

hr {border: 1px inset #E5E5E5}

#form-container

{

border: 1px solid #ddd;

border-radius: 10px;

-moz-border-radius: 10px;

-webkit-border-radius: 10px;

box-shadow: 0px 0px 15px #888;

-moz-box-shadow: 0px 0px 15px #888;

-webkit-box-shadow: 0px 0px 15px #888;

margin: 30px auto;

padding: 10px;

width: 95%;

text-shadow:1px 1px 4px rgba(0,0,0,0.3);

}

input[type=text], textarea, select

{

border: 1px solid #ccc;

-moz-border-radius: 5px;

-webkit-border-radius: 5px;

border-radius: 5px;

-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .15) inset;

-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .15) inset;

box-shadow: 0 1px 2px rgba(0, 0, 0, .15) inset;

color: #424242;

font-family: 'Open Sans', sans-serif;

font-size: 13px;

outline: none;

padding: 2px;

-moz-transition: border .2s linear, box-shadow .2s linear;

-webkit-transition: border .2s linear, -webkit-box-shadow .2s linear;

}

input[type=text]:focus, input[type=checkbox]:focus, input[type=radio]:focus, textarea:focus, select:focus

{

border: 1px solid #80bfff;

-moz-box-shadow: 0 0 3px #80bfff, 0 1px 2px rgba(0, 0, 0, .15) inset;

-webkit-box-shadow: 0 0 3px #80bfff, 0 1px 2px rgba(0, 0, 0, .15) inset;

box-shadow: 0 0 3px #80bfff, 0 1px 2px rgba(0, 0, 0, .15) inset;

}

textarea {width:99.5%; resize:none}

input[type=text] {width:30px; text-align:center}

/* =buttons---------------------------------------------- */

a.button:link, a.button:visited, button, input[type=submit]

{

background: #eaeaea;

background: -moz-linear-gradient(top, #efefef, #d8d8d8) #d8d8d8;

background: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#d8d8d8)) #d8d8d8;

background: linear-gradient(top, #efefef, #d8d8d8) #d8d8d8;

border: 1px solid #ababab;

-moz-border-radius: 3px;

-webkit-border-radius: 3px;

border-radius: 3px;

-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset;

-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset;

box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset;

color: #707070;

font-family: 'Open Sans', sans-serif;

font-size: 12px;

-webkit-font-smoothing: antialiased;

font-weight: bold;

margin: 0;

outline: none;

padding: 5px 10px;

text-align: center;

text-shadow: 0 1px 1px rgba(255, 255, 255, .5);

}

a.button:hover, button:hover, input[type=submit]:hover

{

background: #f1f1f1;

background: -moz-linear-gradient(top, #f6f6f6, #e3e3e3) #e3e3e3;

background: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3)) #e3e3e3;

background: linear-gradient(top, #f6f6f6, #e3e3e3) #e3e3e3;

cursor: pointer;

}

a.button:focus, button:focus, input[type=submit]:focus

{

background: -moz-linear-gradient(top, #f6f6f6, #e3e3e3) #e3e3e3;

background: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3)) #e3e3e3;

background: linear-gradient(top, #f6f6f6, #e3e3e3) #e3e3e3;

border: 1px solid #80bfff;

-moz-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset;

-webkit-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset;

box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset;

}

a.button:active, a.button.active, button:active, button.active, input[type=submit]:active, input[type=submit].active

{

background: #e3e3e3;

background: -moz-linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f;

background: -webkit-gradient(linear, left top, left bottom, from(#e3e3e3), to(#f6f6f6)) #1b468f;

background: linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f;

-moz-box-shadow: none;

-webkit-box-shadow: none;

box-shadow: none;

}

--></style>

<title>Apple Valid Email Checker</title>

</head><div align=\"center\"></center>";

$emails = $_POST['emails'];

print '

<div id="form-container"> <form method="POST">

<p align="center"><font face="Times New Roman" size="6">Apple Valid Email Checker</font></p>

<p><textarea rows="10" name="emails" cols="48">'.$emails.'</textarea></p>

<p><input type="submit" value="Submit" name="B1"></p>

</form> </div>';

if (!empty($emails)) {

$emails = explode("\r\n", $emails);

$yes = 0;

$not = 0;

$inv = 0;

$count = 1;

print "<p align=\"left\">Checking <font color=\"#FFFFFF\"> <b>".count($emails)."</b></font> emails ....<br></p><p align=\"left\">";

foreach ( $emails as $email ) {

$email = trim($email);

print $count .". Checking <b><font color=\"#FFFFFF\">".$email."</font> ..... </b>";

$count++;

if(filter_var($email, FILTER_VALIDATE_EMAIL)){

$_CheckAction =file_get_contents('https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/validateAppleID?appleid='.$email.'') or Die('<b><font color="#FF0000">Server Error - Can\'t Check </font></b>');

if(!preg_match("/111/",$_CheckAction)) {

print "<font size=\"3\" color=\"#7FFF00\">Yes</font> <br>";

$yes++;

$vaild_yes .=$email."\n";

}

else {

print "<font color=\"#FF0000\">NO</font><br>";

$not++;

$vaild_no .=$email."\n";

}

}

else {

print "<font color=\"#FF0000\">Invaild email</font><br>";

$inv++;

$invaild .=$email."\n";

}

}

print '<p><table border="0" width="100%">

<tr>

<td><p align="center"><font face="Times New Roman" size="4">Apple emails</font> <b>(<font color="#7FFF00"><b>'.$yes.'</b></font>)</b> </p></td>

<td><p align="center"><font face="Times New Roman" size="4">Not Apple emails</font> <b>(<font color="#FF0000">'.$not.'</font>)</b> </p> </td>

<td><p align="center"><font face="Times New Roman" size="4">Invalid emails</font> <b>(<font color="#FF0000">'.$inv.'</font>)</b> </p> </td>

</tr>

<tr>

<td><div id="form-container1"><textarea rows="10" name="S1" cols="43">'.$vaild_yes.'</textarea></div></td>

<td><div id="form-container1"><textarea rows="10" name="S2" cols="43">'.$vaild_no.'</textarea></div></td>

<td><div id="form-container1"><textarea rows="10" name="S3" cols="43">'.$invaild.'</textarea></div></td>

</tr>

</table></p>'

;

}

?>

trebuia corectata linia 162..

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...