没法获取超链接

WBOY
Release: 2016-06-13 11:10:11
Original
784 people have browsed it

无法获取超链接
$url="http://ca178.qjwm.com/";
[email protected]($url,"r") or die("超时");
$fcontents=file_get_contents($url);
print_r($fcontents);
preg_match_all('/.*邀请.*/i', $fcontents, $matches);
print_r($matches);

我想获取含有邀请关键词的链接,但是一直是空的,求指导

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!