Home > Backend Development > PHP Tutorial > 小弟我想用php读取网页上的一些数值

小弟我想用php读取网页上的一些数值

WBOY
Release: 2016-06-13 12:10:15
Original
974 people have browsed it

我想用php读取网页上的一些数值
我想用php读取这个网站

http://www.1396me.com/pk10/kaijiang/
Copy after login


读取最新一期的开奖号码,开奖时间和期号,请问该怎么做?


------解决思路----------------------
下载网页数据分析html正则获取数据
------解决思路----------------------
正则匹配html
------解决思路----------------------
^http://([\\w-]+\.)+[\\w-]+(/[\\w-./?%&=]*)?$
------解决思路----------------------
论坛肯定只是讨论技术,要现成的建议去威客网发任务

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