Basit bir kodla verdiğin şablondaki sayfalardan veriyi alır
<?
$url="http://www.imdb.com/title/".$_POST['id']."/";
$veri=file_get_contents($url);
if(strpos($veri,"var __vrtg = ''",1)>0){
echo "Puan belirlenmemis";exit;}
$yer=strpos($veri,"var __vrtg = ",1) ;
echo substr($veri,$yer+14,3);
?>oyal.php diye kaydetip açabilirsin aşagıdaki dosyayıda form yaptm bi tanede
<?
if ( isset($_POST['id'])==0){
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<title>Film Puan Sistemi</title>
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
}
.beyazlat {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
color: #FFFFFF;
line-height: 20px;
}
.buton {
FONT-WEIGHT: bold;
FONT-SIZE: 12px;
COLOR: #000044;
background-color: #FFFFFF;
border: 1px solid #000000;
width: 264px;
}
-->
</style>
</head>
<body> <div align="center">
<form action="oyal.php" method="post" name="form1" target="_self" id="form1">
<table border="2" align="center">
<tr bgcolor="#999999">
<td>
<span class="beyazlat">
</span>
<label><span class="beyazlat">Film No: </span>
<input name="id" type="text" id="numara" maxlength="20" />
</label>
<p>
<input type="submit" name="gonderbuton" class="buton" id="gonderbuton" value="Puani Al" />
</p>
</td> </tr>
</form></div>
</body>
</html>
';
}
else{
$url="http://www.imdb.com/title/".$_POST['id']."/";
$veri=file_get_contents($url);
if(strpos($veri,"var __vrtg = ''",1)>0){
echo "Puan belirlenmemis";exit;}
$yer=strpos($veri,"var __vrtg = ",1) ;
echo substr($veri,$yer+14,3);}
?>