Weird error using PHP Simple HTML DOM parser

前端 未结 9 1415
梦谈多话
梦谈多话 2020-11-29 10:30

I am using this library (PHP Simple HTML DOM parser) to parse a link, here\'s the code:

function getSemanticRelevantKeywords($keyword){
    $results = array(         


        
9条回答
  •  Happy的楠姐
    2020-11-29 10:59

    You just need to increase CONSTANT MAX_FILE_SIZE in file simple_html_dom.php.

    For example:

    define('MAX_FILE_SIZE', 999999999999999);
    

提交回复
热议问题