Скрипт за сваляне от vbox

C++ JAVA
Post Reply
User avatar
Amigo0o
Турист
Турист
Posts: 592
Joined: Sun Mar 18, 2007 6:30 pm
Answers: 27

Скрипт за сваляне от vbox

Post by Amigo0o » Sun Feb 21, 2010 8:36 pm

Здравейте, нужен ми е скрипт за сваляне на клипчета от vbox. Пробвах няколко от сайта но вече са стари и не работят.

Някакви идеи? :lol:

User avatar
sorRy
Потребител
Потребител
Posts: 1401
Joined: Wed Apr 22, 2009 8:04 pm
Answers: 51

Post by sorRy » Sun Feb 21, 2010 8:58 pm

Code: Select all

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> 
<?php
error_reporting&#40;E_ALL ^ E_WARNING ^ E_NOTICE&#41;; 
if&#40;$_POST&#91;'submit'&#93; and strlen&#40;$_POST&#91;'url'&#93;&#41;>0&#41;&#123;
   $file = $_POST&#91;'url'&#93;;
   $number = explode&#40;"&#58;", $file&#41;;
   $i = substr&#40;$number&#91;2&#93;,0 ,2&#41;;
   
   if&#40;fopen&#40;"http&#58;//media.vbox7.com/s/$i/$number&#91;2&#93;.flv","r"&#41;&#41;&#123;
      $url = "http&#58;//media.vbox7.com/s/$i/$number&#91;2&#93;.flv";
   &#125; else &#123;
      for&#40;$ii = 2; $ii <= 15; $ii++&#41;
      &#123;
         if&#40;$ii < 10&#41;
         &#123;
            if&#40;fopen&#40;"http&#58;//media0$ii.vbox7.com/s/$i/$number&#91;2&#93;.flv", "r"&#41;&#41;
            &#123;
               $url = "http&#58;//media0$ii.vbox7.com/s/$i/$number&#91;2&#93;.flv";
            &#125;
         &#125; else &#123;
            if&#40;@fopen&#40;"http&#58;//media$ii.vbox7.com/s/$i/$number&#91;2&#93;.flv", "r"&#41;&#41;
            &#123;
               $url = "http&#58;//media$ii.vbox7.com/s/$i/$number&#91;2&#93;.flv";
            &#125;
         &#125;   
      &#125;
   &#125;
   
   $string = file_get_contents&#40;$file&#41;;
   $pet=explode&#40;'<title>',$string&#41;;
   $edno=explode&#40;'</title>',$pet&#91;1&#93;&#41;;
   $edno&#91;0&#93; = substr&#40;$edno&#91;0&#93;, 0, -7&#41;;
   echo "<center><b>Заглавие&#58; " .$edno&#91;0&#93; . "<br /></b>"; 
   echo "<br />";
   echo '<object classid="clsid&#58;D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http&#58;//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="450" height="403"><param name="movie" value="http&#58;//i47.vbox7.com/player/ext.swf?vid='.$number&#91;2&#93;.'"><param name="quality" value="high"><embed src="http&#58;//i47.vbox7.com/player/ext.swf?vid='.$number&#91;2&#93;.'" quality="high" pluginspage="http&#58;//www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="450" height="403"></embed></object>';
   echo "<b><font size='6'><a style='text-decoration&#58;none; color&#58;#aaa;' href='".$url."'><br />Свали видеото!</a></font></center>";

&#125; else &#123;
   echo '<form method="post" action="">
   <b>Линк към клипа &#40;http&#58;//vbox7.com/play&#58;ed7caef8&#41;</b><br>
   <input type="text" name="url" size="35" value="'.$_POST&#91;'url'&#93;.'"><br>
   <input type="submit" name="submit" style="font-style&#58; bold;" value="Дай ми линк">
   </form><br />';
&#125;

?>	
	
малко бавно зарежда но пак си работи

Post Reply