simple html dom failed to open stream for a site
<p>I'm trying to parse throught <a href="http://whatismyip.com" rel="nofollow">http://whatismyip.com</a> page and get my location (state and country). The data seems to be inside <code>&lt;table class="table"&gt;</code> tags, so i'm looking for "table".
  But I get a mistake <code>Warning: file_get_contents(https://whatismyip.com): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in C:\xampp4\htdocs\scraping\libs\simple_html_dom.php on line 1081</code></p>

<p>Can't figure out what's wrong.</p>

<pre><code> &lt;?php
        require_once('libs/simple_html_dom.php');
        $html=new simple_html_dom();

        $html-&gt;load_file('https://whatismyip.com');

        $element=$html-&gt;find("table");


    ?&gt;
</code></pre>