Re: Execute flash files with PHP

From: Date: Thu, 19 Feb 2009 22:46:00 +0000
Subject: Re: Execute flash files with PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-288621@lists.php.net to get a copy of this message
R B wrote:
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.
There's a tutorial here: http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-take-two (have not tested it myself). The php code is available for download from that page as well. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#288621) next »