You are here: Re: The best method to send a large file to client? « PHP Programming Language « IT news, forums, messages
Re: The best method to send a large file to client?

Posted by _q_u_a_m_i_s's on 10/05/06 15:45

why don't u use readfile()? http://ro2.php.net/readfile
it does exactly what you want, and is much faster than reading the file
and echo'ing it

..:[ ikciu ]:. a scris:
> Hmm U¿ytkownik <howachen@gmail.com> wrote:
> > gzip take time, if many people access the page, my server will be
> > killed....
>
> you right, i thought you send it via mail or allow user to download it, when
> you only display it you you can use require function (but you have right
> there is no php code or just show it like a data)
>
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Ikciu | gg: 718845 | yahoo: ikciu_irsa | www: www.e-irsa.pl
>
> 2be || !2be $this => mysql_query();

 

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

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