For a Guru:
I use the library Simple HTML DOM. It works fine with most sites including ssl but in some ssl sites it fails(for instance https://market.marmelada.co.il).
Here the url of phpinfo() : http://62.219.17.172/~shaishze/shop3/wp-content/plugins/demy/info.php
With another server, based on xamp, it always works fine.
Her is the code:
include('simple_html_dom.php');
$html = new simple_html_dom();
//$html->load_file('https://market.marmelada.co.il/products/3853866721');
$html->load_file('http://ynet.co.il');
echo $html;
$html->clear();
Thx