Скрипт

ma3x_ip

Registered
Като влезнеш тук http://it-bg.org в дясно пише:
Сваляй от vbox7
Сваляй от youtube
Свали от Crazy Videos

как да си направя и аз така?
Пробвах го супер са :)
 
Ето за vb0x7.com :
Код:
<form method='post' action='#'> 
<input type="text" size="22" class="input"name="video" >

<input type="submit" size="10" class="button" name="submit" value="ДОБРЕ">
</form> 
<br>
<center>
<? 
if($_POST['submit']){ 
$url = $_POST['video']; 

if (empty($url)) die("Не сте въвели линка"); 

$number = explode(":", $url); 
$i = substr($number[2],0 ,2); 
$link1 = "http://media.vbox7.com/s/$i/$number[2].flv"; 
if(@fopen($link1, "r")) 
{ 
echo '<a href="'.$link1.'">'.$link1.'</a><br />'; 
} 
for($x = 2; $x<=5; $x++) 
{ 
$link = "http://media0$x.vbox7.com/s/$i/$number[2].flv"; 
if(@fopen($link,"r")) 
{ 
echo 'Линк за сваляне:<a href="'.$link.'">'.$link.'</a><br />'; 
} 
} 
} 
?>
</center>

3a youtube.com:

Код:
<form method='post' action=''> 
<input type='text' name='video' class='textbox'/> 
<input type='submit' name='submit'value="Давай!" class="button"> 
</form> 
<? 
if($_POST['submit']){ 
$video="$_POST[video]"; 
$video=str_replace("http://youtube.com/watch?v=", "http://cache.googlevideo.com/get_video?video_id=", $video); 
echo"<a href=\"$video\">Сваляне</a><br>$video";} 
?>
 
stoqnski каза:
Ето за vb0x7.com :
Код:
<form method='post' action='#'> 
<input type="text" size="22" class="input"name="video" >

<input type="submit" size="10" class="button" name="submit" value="ДОБРЕ">
</form> 
<br>
<center>
<? 
if($_POST['submit']){ 
$url = $_POST['video']; 

if (empty($url)) die("Не сте въвели линка"); 

$number = explode(":", $url); 
$i = substr($number[2],0 ,2); 
$link1 = "http://media.vbox7.com/s/$i/$number[2].flv"; 
if(@fopen($link1, "r")) 
{ 
echo '<a href="'.$link1.'">'.$link1.'</a><br />'; 
} 
for($x = 2; $x<=5; $x++) 
{ 
$link = "http://media0$x.vbox7.com/s/$i/$number[2].flv"; 
if(@fopen($link,"r")) 
{ 
echo 'Линк за сваляне:<a href="'.$link.'">'.$link.'</a><br />'; 
} 
} 
} 
?>
</center>

3a youtube.com:

Код:
<form method='post' action=''> 
<input type='text' name='video' class='textbox'/> 
<input type='submit' name='submit'value="Давай!" class="button"> 
</form> 
<? 
if($_POST['submit']){ 
$video="$_POST[video]"; 
$video=str_replace("http://youtube.com/watch?v=", "http://cache.googlevideo.com/get_video?video_id=", $video); 
echo"<a href="$video">Сваляне</a><br>$video";} 
?>

yutobe не бачка :(
 

Back
Горе