Reply to Re: performance of fopen, include, require,...

Your name:

Reply:


Posted by Tim on 10/06/78 11:30

>> I've seen code where fopen was used to get some HTML from another file
>> and put it at that place in the resulting file. I was wondering if there
>> would be a performance hit, compared to including the file at the top
>> and using the variable somewhere in the resulting file.
>
>
> i'm sure that include is most suitable variant. Fopen usefull if you
> wanna to process some information from file, to use raw data, write
> dump etc, - this is bidirectional function - you can read and write to
> file. Also its usefull when access remote files.
> If compare speed to "include" think it would lose anyway.

I was thinking the same thing, but it made me wonder where I could check
such things. The same thing for print/echo (which happens to be in the FAQ).

I have no clue at the moment which function to choose if two can be used
for my purpose and I was wondering if there's any good resource
available to find out...


Cheers

[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

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