【发布时间】:2012-03-18 19:44:48
【问题描述】:
我有用于 PHP 的简单 HTML DOM 解析器,我正在使用以下标记:
$html = file_get_html('http://www.google.com');
但是,如何将帖子变量(如 cURL)发送到该页面并获得响应?例如
$html = file_get_html('http://www.google.com', array("Item"=>"Value", "Item2"=>"Value2"));
【问题讨论】: