Jump to content

Archived

This topic is now archived and is closed to further replies.

tonyr1988

Access Remote File's Source

Recommended Posts

I could've sworn that I did this on a separate project about a year ago, but now I'm thinking that I'm crazy.

I need to be able to access the source of a remote HTML file (not PHP source or anything that requires FTP access....just the normal stuff you'd get from a "View Source") and then parse it.

Is this even possible? I've been searching Google and various PHP forums, and can't find anything.

Share this post


Link to post
Share on other sites
[url=http://www.php.net/file_get_contents]file_get_contents()[/url]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.