<p><pre><code> $data = "http://hackerunderground.com/solution/blank;
$ch = curl_init($data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$base = curl_exec($ch);
for($i=0;$i<10000;$i++)
{
$data = "http://hackerunderground.com/solution/$i;
$ch = curl_init($data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
if($response != $base)
{
echo $i;
}
}
</code></pre>
I like my solution best. Everyone should try it!