file_get_contents or stream_get_contents. Which one?
Moderator: General Moderators
file_get_contents or stream_get_contents. Which one?
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.

- 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?
Yes.aphpnut wrote:Anyone here has any experience with file_get_contents, and stream_get_contents?
Have you tried them?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?
Nope.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?