|
Posted by Bent Stigsen on 12/09/82 11:26
alex bazan wrote:
> En/na Andy Hassall ha escrit:
>
>> On Mon, 12 Sep 2005 12:46:06 +0200, alex bazan <me@privacy.net> wrote:
>
>
>> OK, so you need to find a way of reproducing that behaviour in a way
>> where you
>> can see what's happening right at the end.
>>
>> Turn on log_errors in PHP in case it's producing a PHP error at the
>> end - you
>> can't see the error text since the player will be receiving it, but if
>> you turn
>> on log_errors it'll also log it to a file so you can check for it.
>
>
> i've been already 'tailing' them on the console... no errors dumped to
> the log file though...
>
> in case you wonder about files being coprrupted, i have the same
> behaviour with all files, and the files are correctly reproduced in my
> desktop player.
An additional thing when streaming, instead of using fpassthru, use
fread to read the file in chunks. Look what PHP's output buffer is set
to, reading less would probably be pointless, unless you do a explicit
flush.
[snip]
/Bent
[Back to original message]
|