file_get_contents or stream_get_contents. Which one?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
aphpnut
Forum Newbie
Posts: 1
Joined: Thu Jul 12, 2007 8:18 pm
Location: Melbourne Australia

file_get_contents or stream_get_contents. Which one?

Post by aphpnut »

Anyone here has any experience with file_get_contents, and stream_get_contents? If I want to let someone else to display his or her web page with all the images as a preview on mine, which one do I use to make the web page display quickly? I also like to display the person's web page as a thumbnail or a small image. Is there any PHP function for that? I appreciate very much your kind help.

:)
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Re: file_get_contents or stream_get_contents. Which one?

Post by feyd »

aphpnut wrote:Anyone here has any experience with file_get_contents, and stream_get_contents?
Yes.
aphpnut wrote:If I want to let someone else to display his or her web page with all the images as a preview on mine, which one do I use to make the web page display quickly?
Have you tried them?
aphpnut wrote:I also like to display the person's web page as a thumbnail or a small image. Is there any PHP function for that?
Nope.
Post Reply