Sean Sean - 2 months ago 6
HTML Question

How do I include an external file in PHP?

I need to include and external file that is on another url. For example I have tested the include using local files, so that much works, but if I try and use Nothing happens. I don't get an error, I just get a blank page.
So how am I supposed to include in my page?


I have no idea why you'd want to do this, but you could most certainly try something like:

    $google_page = file_get_contents('');
    echo $google_page;