Page 1 of 1
file_get_contents or stream_get_contents. Which one?
Posted: Thu Jul 12, 2007 9:20 pm
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.

Posted: Thu Jul 12, 2007 9:33 pm
by Benjamin
Re: file_get_contents or stream_get_contents. Which one?
Posted: Thu Jul 12, 2007 9:34 pm
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.