Forum Moderators: coopster

Message Too Old, No Replies

file() or fopen()?

file or fopen?

         

planbeta

6:50 pm on Jun 4, 2003 (gmt 0)

10+ Year Member



Hi I want to grab a web page from another server of mine and I'm wondering which of the file() or fopen() is the best, is there any difference? Is one more efficient than the other?

Thanks

Chris

jatar_k

1:33 am on Jun 6, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



sorry planbeta, a little slow on the pickup on this one.

I would think that fopen would be better. Mainly because it seems to be the function they always refer to on php.net for it.