
Doug Warren - 2009-04-25 19:37:26
-----------Change all instances of this-------------------------------
$pg=file_get_contents($lnk);
if(strpos($pg,"iTxt")!==false)
{
$ii=strpos($pg,"iTxt")+6;
$ij=strpos($pg,'<',$ii);
$hor=substr($pg,$ii,$ij-$ii);
}else{
$hor="Not found";
}
return $hor;
-----------------------------To this--------------------------------------
$pg=file_get_contents($lnk);
if(strpos($pg,'id="intelliTxt"')!==false)
{
$ii=strpos($pg,'id="intelliTxt"')+16;
$ij=strpos($pg,'<',$ii);
$hor=substr($pg,$ii,$ij-$ii);
}else{
$hor="Not found";
}
return $hor;