1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html>
<head><title>Verifica ID - Ronny's Blogu'</title><style type="text/css">
img {
       border: 0px;
}
#verificadomeniu {
       background: #ffffff;
       border: 1px solid #E8E8E8;
       text-align: center;
       margin: 0px auto; padding: 0px;
       width: 50%;
       height: 50%;
       font-family: Verdana;
       font-size: 15px;}
input {
       border: 1px solid #E8E8E8;
       }       </style></head><center><a href="http://ronny.blog-u.net"><img src="logo.gif"></a></center><br />
<div id="verificadomeniu">
<form method="post" action="<?php echo $_SERVER['SCRIPT_NAME'];?>"><br /> <br /> 
<p>Insert the ID you wish to check and press the button</p>
<input type="text" name="id"><input type="submit" name="buton" value="Check"></form>
 
<?php
$id = file_get_contents('http://edit.yahoo.com/config/id_check?.id='. $_POST['id']);
if(isset($_POST['buton'])) {
       if(eregi('unavailable', $id)) {
       echo "<b>ID is free!</b>";
} else {
       echo "<b>IDul isn't free!</b>";
}
}
 
?>
</div></body></html>