i made a little test script to see if it takes a long time to get that page.
here it is
<?
$start = getmicrotime();
$source = file_get_contents("http://www.free-teens-galleries.com/");
$end = getmicrotime();
$before_regex = getmicrotime();
if (preg_match("/href=\"http:\/\/(www\.)?celeb\-x\.com(.*)>/si", $source, $matches)) {
echo "found";
} else {
echo "not found";
}
$after_regex = getmicrotime();
echo "<br /><br />";
$download = $end - $start;
$search = $after_regex - $before_regex;
echo "Took $download seconds to get the page, and $search seconds to search the text.";
function getmicrotime()
{
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}
?>
this was the output...
found
Took 0.90922403335571 seconds to get the page, and 0.00054502487182617 seconds to search the text.
so on my server, it took just under a second to download that page, and 5/10,000ths of a second to perform the regex.
doesnt seem too long to me. try it on your server and see if it takes much longer to get the page.