I'm trying to create a function that checks if users have flash on there website. So far I have this:
$html = file_get_contents('http://www.test.com'); //users website
if(preg_match(".swf", $html, $matches)) {
print("<pre>");
print_r($matches);
print("</pre>");
}
But I don't get any results. Anyone got ideas? :)