0

I tried file_get_html('file1.html') which is about 5KB works well and i get what i need but when i try this on file_get_html('file2.html') which is about 6 MB it returns nothing.. is there any memory limits or file size limits or limits set by XAMP Defaults? is there any alternative way of getting file HTML? I tried

include('htmldom/simple_html_dom.php');
echo $string = file_get_html('file1.html');

also tried

ini_set("memory_limit","32M");

with NO luck

Rishabh Gusain
  • 626
  • 1
  • 5
  • 16
  • Try http://stackoverflow.com/a/21429652/1273830 – Prasanth Apr 11 '16 at 17:31
  • tried again with no returns no errors if i give incorrect file name it returns Warning: file_get_contents(BAf.htm): failed to open stream: No such file or directory in C:\xampp\htdocs\htmldom\simple_html_dom.php on line 75 – Rishabh Gusain Apr 11 '16 at 17:40

0 Answers0