You are here: Re: [PHP] php output fills apache buffer for clients with slow internet connections « PHP « IT news, forums, messages
Re: [PHP] php output fills apache buffer for clients with slow internet connections

Posted by Richard Lynch on 04/20/05 07:38

On Tue, April 19, 2005 2:13 am, Martin Mandl said:
> Therefore (finally) here come the questions:
> Is there a way to control the output speed of the php script according
> to the actual download speed between the browser and the server?
> Or is there a way to monitor the memory usage of the apache process (to
> slow down the data output when it increases)?
> Or is writing my own socket to act as web server a solution (is it
> possible to monitor the connection speed this way)?
> Or what should I do else?

Perhaps you should consider making the files available via FTP.

And perhaps even in, say, 10Meg chunks, using command line split.

Cuz if I have to download 100Meg through HTTP over a modem, I ain't gonna
do it.

Also consider this: If the end goal of your user is to put this file
somewhere else, on another server, maybe give dial-up users the option of
not downloading it at all, but give them an SSL page to put in one-time
throw-away never-stored username/password/domain/path and their choice of
FTP, SCP, SFTP and then *you* copy the file from your server to their
server for them.

--
Like Music?
http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация