Domain scanner

This simple code collects a list of domains with a certain extension from

// Thx to idban 4 your grabbing tools, did you remember me? :)
//  My little hero : wulan
// Jakarta : September, 6 2001

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<body bgcolor="#FFFFFF" text="#000000">
<form method="post" action="<?$php_self?>">
 domain :
 <input type="text" name="domain" value="">
 preview :
 <select name="prev" size="1">
   <option value="10" selected>10 result</option>
   <option value="20">20 result</option>
   <option value="30">30 result</option>
   <option value="50">50 result</option>
   <option value="100">100 result</option>
 <input type="submit" name="Submit" value="Submit">

if (!$file) {  
   echo "error when connect\n";  
while (!feof($file)) {  
   $line = fgets($file,1024);  
   if (eregi("related:(.*)/>Similar pages", $line, $out)){  
   if (ereg($domain, $out[1])){
       echo $out[1]."<br>";


You might also like...


Akas Triono Hadi


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” - Brian Kernighan