change file_get_contents to be curl (fixes flash and wordpress detection bug)