Ok, I got it :)
Is there a better way to do a very fast encryption of a file for a key
that changes daily ?
The movie is loading and playing at the same time [progressive/rtsp],
so the encrypt/decrypt needs to be pretty fast
I tried mcrypt but it seemed way to slow
Maybe there is a bet
I am trying to stream a movie file with 'fread'
this my first step in trying to dynamically encrypt the file as it is being
streamed from the server
do I need to fread the data in chunks?
If so, how?
$filename ="$path2file";
$file = fopen($filename,'r');
$fileSize = filesize($filename);
$Conte
: php
Subject: [PHP] how to stream a movie file with fread
I am trying to stream a movie file with 'fread'
this my first step in trying to dynamically encrypt the file as it is
being streamed from the server
do I need to fread the data in chunks?
If so, how?
$filename ="$path2file&
I am trying to stream a movie file with 'fread'
this my first step in trying to dynamically encrypt the file as it is
being streamed from the server
do I need to fread the data in chunks?
If so, how?
$filename ="$path2file";
$file = fopen($filename,'r');
$fileSize = filesize($filename);
$Conte
4 matches
Mail list logo