Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/05/2014, 06:54
Avatar de Italico76
Italico76
 
Fecha de Ingreso: abril-2007
Mensajes: 3.303
Antigüedad: 17 años
Puntos: 292
Respuesta: usando "file_get_contents", sin saber nada.

Vi algo parecido asi que si te sirve bien......sino me disculpan ambos.

Código PHP:
Ver original
  1. <?php
  2. // here you can chech your sessions
  3.  
  4. function flush_buffers(){
  5.     ob_end_flush();
  6.     ob_flush();
  7.     flush();
  8.     ob_start();
  9. }
  10.  
  11. $filename = "/path/of/fideofeed.flv";
  12. if (is_file($filename)) {
  13.     header('Content-Type: video/x-flv');
  14.     header("Content-Disposition: attachment; filename=video.flv");
  15.     $fd = fopen($filename, "r");
  16.     while(!feof($fd)) {
  17.         echo fread($fd, 1024 * 5);
  18.         flush_buffers();
  19.         }
  20.     fclose ($fd);
  21.     exit();
  22. }

Usan sessions para autenticar al usuario...... pero creo hacen lo que el compañero pide

http://gonzalo123.com/2010/09/20/liv...ming-with-php/
__________________
Salu2!