When trying to parse html using simple html parser, I get no response. Here is the code:
$html = new simple_html_dom();
$html->file_get_html('http://thepiratebay.se/search/1080p/0/7/207');
$html returns nothing. However, when I'm doing the same thing using this url, http://thepiratebay.se/browse/207/0/7, I get a normal response.
I don't really understand why since the url works perfectly.
A var_dump on $html returns a bool (false).
I have php 5.3.1 and allow_url_fopen is on in php.ini