Execute flash files with PHP

From: Date: Thu, 19 Feb 2009 22:12:31 +0000
Subject: Execute flash files with PHP
Groups: php.general 
Request: Send a blank email to php-general+get-288615@lists.php.net to get a copy of this message
Hello. I have two scripts in php that reads a .swf or .flv movie file, like this: SCRIPT # 1 <?php $movie = "movie.swf"; readfile($movie); ?> SCRIPT # 2 <?php $movie = "movie.flv"; readfile($movie); ?> The script # 1 with the .swf file works fine: the video is executed with streaming. The script # 2 with the .flv file is executed but without streaming. If i execute the movie.flv directly (without the php script), then it´s executed with streaming. Do you know how can i do to execute the .flv file with php and with straming? I tried with fopen, readfile, but don´t works. Thank you

« previous php.general (#288615) next »