• 10-12-2009, 00:12:57
    #1
    $resimal=$resimler[$ii][1];
    $flvcek=kaynak("http://www.vidivodo.com$adres");
    preg_match_all('@so.addVariable("u", "(.*?)")@sm',$flvcek,$demo);
    $flv=explode('so.addVariable("u", "',$flvcek);
    $flv=explode('")',$flv[1]);
    $flval=$flv[0];
    //------------------------------------------------------------------------
    
    //------------------------------------------------------------------------
    echo "<table border=0 width=782 height=130 align=center>
    	<tr>
    		<td height=130 width=110><img border=\"0\" src=\"$resimal\" width=\"128\" height=\"114\"></td>
    		<td height=130 width=782>Video Adi : $baslik <br>Video Adres : $adres <br>Video FLV : <input type='text' name='embed' value='<object width=\"425\" height=\"343\"><param name=\"movie\" value=\"http://www.vidivodo.com/VideoPlayerShare.swf?u=$flval\"></param><param name=\"allowScriptAccess\" value=\"always\"><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://www.vidivodo.com/VideoPlayerShare.swf?u=$flval\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"425\" height=\"343\" allowScriptAccess=\"always\" ></embed></object>' size='80'><br>Video Resim : $resimal <br>Video Tag : $tag</td><br>
    	</tr>
    </table>";
    hersey guzel calısıyor bot resimleri filan cekıyor eklıyor embed eklerken videonun idini almıyor sorun nerede olabilir yardımcı olacak varmı ?
  • 10-12-2009, 08:40:19
    #2
    Üyeliği durduruldu
    adim adim hata ayiklama yaptiniz mi?
  • 10-12-2009, 12:25:59
    #3
    Eposta Aktivasyonu Gerekmekte
    file_get_contents() ve preg_match() ile sorunsuz alıyor. Aşağıdaki örneği inceleyin
    <?php
    /*
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "http://www.vidivodo.com/330504/kawasaki-ninja");
    curl_setopt($ch, CURLOPT_HEADER, 0);
    $q = curl_exec($ch);
    curl_close($ch);
    */
    $q = file_get_contents("http://www.vidivodo.com/329943/the-saturdays-radio-1-live-lounge-beggin-cover");
    
    preg_match('#"u", "(.*?)"#si',$q,$url);
    ?>
    
    
    
    <table border=0 width=782 height=130 align=center>
        <tr>
            <td height=130 width=110><img border="0" src="$resimal" width="128" height="114"></td>
            <td height=130 width=782>Video Adi : $baslik <br>Video Adres : $adres <br>Video FLV : <input type='text' name='embed' value='<object width="425" height="343"><param name="movie" value="http://www.vidivodo.com/VideoPlayerShare.swf?u=<?php echo $url['1'];?>"></param><param name="allowScriptAccess" value="always"><param name="wmode" value="transparent"></param><embed src="http://www.vidivodo.com/VideoPlayerShare.swf?u=<?php echo $url['1'];?>" type="application/x-shockwave-flash" wmode="transparent" width="425" height="343" allowScriptAccess="always" ></embed></object>' size='80'><br>Video Resim : $resimal <br>Video Tag : $tag</td><br>
        </tr>
    </table>