I am trying to find a certain line in a file. The file is http://cpcheats.co/pin-tracker/swf/coffee.flr. I'm using the php function search_array(), but it is not giving me the proper key. This code just returns the first line of the file:
$newurl = file_get_contents("http://cpcheats.co/pin-tracker/swf/coffee.flr");
$array = explode("
",$newurl);
$key = array_search('triggers_mc.pin_mc.triggerFunction = function () {', $array);
echo $array[$key];
Does anyone know why this is happening, or a fix for this?