Re: [PHP] Best way to manage open slots for download

2007-01-02 Thread Richard Lynch
I think you want $bytes_out >= $size, actually... I'm not sure what you are sending out for that last extra byte... :-) You could consider just timing out any zombies. You could use "ignore_user_abort" and hope to "finish" most of the downloads, as far as PHP is concerned, but I don't think igno

Re: [PHP] Best way to manage open slots for download

2007-01-01 Thread tedd
At 10:15 AM -0500 12/31/06, Rasmus Lerdorf wrote: > What other ways can you recommend to me for the situtation? Read through this: http://www.php.net/manual/en/features.connection-handling.php -Rasmus -Rasmus: Just want to express my gratitude for your attendance to this list. Thanks. t

Re: [PHP] Best way to manage open slots for download

2006-12-31 Thread Rasmus Lerdorf
Aras wrote: > First of all, Happy New Year for everyone in the list. I wish 2007 brings > all us happiness, health and peace. > > I want to read your advises at a point i am stuck within, i have an > application that serves downloads to clients. For some reason i am limiting > total open slot for

[PHP] Best way to manage open slots for download

2006-12-31 Thread Aras
First of all, Happy New Year for everyone in the list. I wish 2007 brings all us happiness, health and peace. I want to read your advises at a point i am stuck within, i have an application that serves downloads to clients. For some reason i am limiting total open slot for some group of users (not