Reply to file_get_contents vs readfile

Your name:

Reply:


Posted by howa on 09/10/07 14:07

Target: To fetch a file using PHP and send to user

Method 1:

echo file_get_contents( $file_path );

Method 2:

readfile( $file_path );


Which one is better?

[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

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