Home  >  Article  >  Backend Development  >  php怎么通过地址去获取一个网页的标题title里面的内容

php怎么通过地址去获取一个网页的标题title里面的内容

WBOY
WBOYOriginal
2016-06-13 12:41:281111browse

php如何通过地址去获取一个网页的标题title里面的内容。
比如,我在文本框里面输入一个网址。点击“获取标题”按钮,如何才能获取到标题并写入到下面的文本框里面。

Statement:
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