Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Skrypt sciągający filmy z video.google.pl
Komandoo
post
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 14.11.2006
Skąd: Skierniewice

Ostrzeżenie: (0%)
-----


Pisze skrypt umożliwiający ściągniecie pliku z video.google.pl i niestety ale nei działa (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) Poniżej kod:

Kod
   <?php
   if (isset($_GET{'url'})){
       $url=$_GET{'url'};
       $url=trim($url);
  
       if (strstr($_GET['url'],"video.google.pl")){
           $data = @file_get_contents($_GET['url']);
           @preg_match('#/watch_fullscreen\?video_id=([a-z0-9-_]+)&l=([0-9]+)&t=([a-z0-9-_]+)#i', $data, $matches);
           if (ereg($matches[1], $_GET['url'])) {
               Header("Location: http://video.google.pl/get_video?video_id=$matches[1]&l=$matches[2]&t=$matches[3]");
           }
       }
   }
   ?>
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 12:32