I know it is not the best, I am a little new to php
<?php
$file=
$url='http://www.website.com/data/$file';
if (!($fp = fopen($url, 'r')))
{
echo 'cannot open the URL';
exit();
}
$contents=fread($fp, 1000000);
fclose($fp);
if(preg_match('^[<br/><h4>Title - ]+$title+[</h4>', $line, $matches)) {
$array = explode(' ', $matches[1]);
$settings = array();
foreach($array as $value)
$newarray[substr($value,0,strpos($value,'"')-1)] = substr($value, strpos($value,'"')+1, -1);
}
?>