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 howachen on 10/06/06 03:41

NC 寫道:

> On Oct 5, 12:17 am, howac...@gmail.com wrote:
> >
> > I have many text file with 1 to 2MB in size
> >
> > currently, i use the method:
> >
> > echo file_get_contents( $file_path );
> >
> > are there any better method?
>
> Yes. Use readfile():
>
> http://www.php.net/readfile
>
> Cheers,
> NC

thanks all...

seems readfile() is the best method

 

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

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