Reply to Re: file_get_contents vs readfile

Your name:

Reply:


Posted by howa on 09/10/07 17:18

okay. i get your point.

my files only will have Max 1MB or 2MB...

if file ending early regardless the memory limit, then this should a
bug...



On 9 11 , 12 36 , Good Man <he...@letsgo.com> wrote:
> howa <howac...@gmail.com> wrote in news:1189441552.210767.228350
> @r29g2000hsg.googlegroups.com:
>
> >>> "readfile" has a knack for ending the file streaming
> > early on large files
>
> > not really understand your point....
>
> > i think beside memory limiation, a single call to readfile should be
> > more efficient.
>
> try streaming a 12MB file, regardless of your memory settings, to
> understand my point. your download will end early and you will not get the
> complete file.
>
> the function is posted on the manual page for a reason, i personally have
> found it vital, use at your discretion.

[Back to original 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

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