linux下无法抓取页面数据

WBOY
Release: 2016-06-06 20:08:36
Original
994 people have browsed it

在Windows上用php里面的simple-html-dom抓取一个页面,已经成功抓取,然而放到CentOS服务器上的时候,什么也没有抓取到。本人不是很了解linux,所以求教。
之前也遇到过post以后无返回值的情况。

回复内容:

在Windows上用php里面的simple-html-dom抓取一个页面,已经成功抓取,然而放到CentOS服务器上的时候,什么也没有抓取到。本人不是很了解linux,所以求教。
之前也遇到过post以后无返回值的情况。

有什么报错信息吗? 贴出报错信息,方便解决问题

Related labels:
php
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!