|
Posted by alex bazan on 10/14/66 11:26
En/na Andy Hassall ha escrit:
> On Mon, 12 Sep 2005 11:05:39 +0200, alex bazan <me@privacy.net> wrote:
>
>>If i point the mp3 directly i have no problems, but with the php script
>>songs stop playing when after a while (always at the same length)...
>
>
> How is the player reading the file?
>
> If it is streaming it, i.e. only reading just about as fast as it's playing
> give or take a buffer size, it'll exceed PHP's maximum execution time, and PHP
> will drop the connection.
>
Yes, it's streaming... when i read that i said, bingo!
but i've raised the max_execution_time to 300s in php.ini and also with
the ini_set function, and i've also tried raising it with
set_time_limit(), but the song always stops at the same point at 1:25
(aprox).... (thats less than 90 seconds!)
>
> You would probably be better off using an Alias in Apache.
for some reasons, i can't do that.
Navigation:
[Reply to this message]
|