读取页面的方法

WBOY
Release: 2016-06-13 11:50:24
Original
938 people have browsed it

读取页面的方法 求助
HI。各位,我想请教一下,我有若干个静态页面,我希望能直接读取到某个静态页面的title,description 还有BODY标签中的内容,有什么办法可以获取的到吗???
  以上,寻求下帮助,谢谢
------解决方案--------------------
php自带的DOMDocument类、phpQuery、simple_html_dom都是可以的
------解决方案--------------------
直接正则截取

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template