Search results

  1. L

    Use PHP to grab html code from a site that requires a login?

    I am running this on wamp (localhost). I want to do something like this: <?php $site = file_get_contents('http://www.example.com/'); echo $site; ?> And it works correctly, except I wanted to use it for a site that requires me to login. I am logged in on my browser, but that doesn't seem to...
Back
Top