I want to download 100 websites sources. And check for some content. It really takes long time with file_get_contents. How can i do this async? Trying to solve this whole day. Help. Is it that hard?
[php]
$sql = “SELECT * FROM Address”;
$result = mysql_query($sql,$con);
while ( $row = mysql_fetch_assoc($result) )
{
$text = file_get_contents($row[‘Address’]);
//other code
}
[/php]