I think I should point out that you should NEVER include() a file from a remote URL:
- If you think it's a good idea, then you probably don't understand what it does.
- If you understand what it does and STILL think it's a good idea, you haven't considered the security implications
- If you understand what it does and the security implications AND STILL think it's a good idea, you obviously have little care for your server's security.
Just don't include() remote files. Ever. At all. Whatsoever.
A good alternative might be to read the file into a variable and write that out using file_get_contents() and echo(). Alternatively, if it's likely to be too big to fit in memory, consider using stream_copy_to_stream (having opened php://stdout to write to the output)
Mark