Reply to Files passing through

Your name:

Reply:


Posted by Evert | Rooftop on 08/22/05 22:30

Hi People,

I want to use a PHP script to pass through a file to the browser [ right
after some processing ].
What is the fastest way to do this? I know
echo(file_get_contents('myfile')); is not a good idea ;)

Is fpassthrough the right choice?
maybe virtual, so it won't go through php but apache does the job?
there's also readfile

Another question, how seriously does this affect the performance in
comparison to let apache handle it. Is the difference big at MB+ files?
or only significant when dealing with a lot of tiny files?

Thanks for your help!
Evert

[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

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