如何在php中通过文件获取下一页的html内容?

如何在php中通过文件获取下一页的html内容?,php,Php,我想得到这个url的html内容,但下一页的内容 请检查我想说的是什么 步骤1:转到- 点击查看下周按钮。现在我想得到这个页面的内容。你们可以看到url并没有改变。那我该怎么做呢 我尝试了以下代码 require('simple_html_dom.php') ; require_once('HTMLPurifier.standalone.php'); $calendar_url = "http://www.frontline-connect.com/weeklySched.cfm

我想得到这个url的html内容,但下一页的内容

请检查我想说的是什么

步骤1:转到-

点击查看下周按钮。现在我想得到这个页面的内容。你们可以看到url并没有改变。那我该怎么做呢

我尝试了以下代码

require('simple_html_dom.php') ;
    require_once('HTMLPurifier.standalone.php');
    $calendar_url = "http://www.frontline-connect.com/weeklySched.cfm?fac=lajolla&facid=1";
    $html = new simple_html_dom();
    $html = file_get_html($calendar_url);
    $scheduleTable = $html->find('table',1);
    $purifier = new HTMLPurifier();
    $config = HTMLPurifier_Config::createDefault();
    $config->set('HTML.AllowedAttributes', array('*.id','img.src','a.href'));
    print_r($purifier->purify($scheduleTable,$config));
但是这段代码可以获取本周的内容


因此,请帮助我获取下周的内容

该按钮是表单的一部分,用于提交帖子数据。你需要提出一个post请求。看这里的例子:你能告诉我整个数组吗?