simple_html_dom.phpがおかしい | パソコンとスマホ 勉強中

simple_html_domがおかしい場合の対処法

対処:
simple_html_dom.php


$contents = file_get_contents($url, $use_include_path, $context, $offset);
の 「$offset」をとる
$contents = file_get_contents($url, $use_include_path, $context);

情報源: simple_html_dom.phpがおかしい | パソコンとスマホ 勉強中