07.10.2010 dead persons!
the tsse and fast IMDB ordering died probable the script was exchanged on IMDB website.
They are out of order!!
0.0/10
1.)
dead
TSSE IMDB mod
2.)
dead
PHP Code:
function getMovieRating($imdb_website)
{
if (preg_match('/<b>([0-9]{1,2}\.[0-9]{1,2})\/10<\/b> \(.+ votes\)/', $imdb_website, $hit))
{
return $hit[1];
}
else
{
return FALSE;
}
}
3.)
dead
PHP Code:
function imdb_rating($link)
{
$page = file_get_contents($link);
preg_match_all("/<div class=\"meta\">\n<b>(.+?)\/10<\/b>/", $page, $matches);
return $matches[1][0];
}
Help me please, is for somebody working?
update:
I solved it already thank you. beautiful day