【发布时间】:2014-04-01 17:32:06
【问题描述】:
我有一个小的 PHP 脚本从 atom 提要中提取信息。然后将该回声推送到文件或数据库中的最佳方法是什么?我希望能够按小时参考该信息。
例如。
PHP grabs HTML page.
Webserver stores the resulting HTML locally.
Webserver references that locally stored HTML.
Webserver displays a template version of the local information.
这是拉取 html 的 php:
<?php include('simple_html_dom.php'); echo file_get_html('http://www.website.com')->plaintext[1] ; ?>
【问题讨论】: