It appears fread() only works on a file on the local server (or one that can be linked to somehow). What I want to do is read the source code of remotely-hosted html files into a variable, as if I was doing fread() on a local file. I have to pull certain text out of a large set of html files (via grep) and it's easier if I can just do that from where they currently reside.
Is there a reasonably straightforward way to do this?