izacksher Posted December 7, 2015 Share Posted December 7, 2015 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 Quote Link to comment https://forums.phpfreaks.com/topic/299667-the-library-simple-html-dom-with-ssl-sites/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.