Hi,
I'm trying for now 3 months working on a script that only has to give me the url of the first .jpg file that it finds in a string but it doesn't work.
All I got till now is this :
$fcontents = file ('http://us.imdb.com/Title?0209163');
while (list ($line_num, $line) = each ($fcontents));
$fcontents = join ('', file ($sitepathh.'http://us.imdb.com/Title?0209163'));
$string2=ereg_replace("(.http🙂(..)(jpg.*)","\2",$fcontents);
echo $string2;// <- This should show the URL of the image.
Can somebody please help me ??
PLeaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
tnxxx