I wonderd if it is possible to get records from a php file that has record in it, and then put them into a database.
this is what I got till now, but it doesnt work :
echo $fc = join('', file("http://www.isonews.com/releases.php3?section=divx&endon=949381200&view=month"));
preg_match_all("/<tr>.*?<td>(<a.*?(Title).*?<\/a>)<\/tr>/i", $fc, $ca);
reset($ca);
while (list(,$value) = each ($ca[1])) if($value != "" && $value != "") {echo "Titel :". trim($value)."\n\r";};
echo "<br>$fc";
the source of the url:
<tr bgcolor="#FFA23F">
<td>02/28/2000</td>
<td> </td>
<td nowrap> 1998 </td>
<td><a target="blank" href="http://us.imdb.com/Title?0120611"><img src="images/link.gif" border=0></a> </td>
<td><a target="blank" href="http://us.imdb.com/Title?0120611">Blade</a></td>
<td>DVL</td>
<td>[xx/42]</td>
<td> </td>
<td>
<a href="release.php3?releaseid=11142"><img border=0 src="images/nfo2.gif"></a>
</td>
</tr>
<tr bgcolor=#FFA23F>
<td width=95> </td>
<td width=20> </td>
<td width=20> </td>
<td width=25> </td>
<td> </td>
<td> </td>
<td> </td>
<td width=1> </td>
<td width=1> </td>
</tr>
and I should get the <a href of the movie name and the a href of the datbase of isonews itself.This should give me :
<a target="_blank" href="http://us.imdb.com/Title?0120611">Blade</a>
and
<a href="release.php3?releaseid=11142"><img border=0 src="images/nfo2.gif"></a>
Can anyone help ?