惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Heimdal Security Blog
SecWiki News
SecWiki News
H
Hacker News: Front Page
N
News | PayPal Newsroom
L
LINUX DO - 最新话题
N
News and Events Feed by Topic
TaoSecurity Blog
TaoSecurity Blog
AI
AI
C
Cybersecurity and Infrastructure Security Agency CISA
Scott Helme
Scott Helme
PCI Perspectives
PCI Perspectives
S
Securelist
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Cyberwarzone
Cyberwarzone
A
Arctic Wolf
Forbes - Security
Forbes - Security
T
Tor Project blog
Spread Privacy
Spread Privacy
WordPress大学
WordPress大学
I
Intezer
Martin Fowler
Martin Fowler
Help Net Security
Help Net Security
P
Proofpoint News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Cisco Talos Blog
Cisco Talos Blog
Latest news
Latest news
博客园 - 司徒正美
W
WeLiveSecurity
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX
P
Palo Alto Networks Blog
Google DeepMind News
Google DeepMind News
IT之家
IT之家
阮一峰的网络日志
阮一峰的网络日志
V
Vulnerabilities – Threatpost
Jina AI
Jina AI
S
Security Affairs
Hacker News - Newest:
Hacker News - Newest: "LLM"
Simon Willison's Weblog
Simon Willison's Weblog
Project Zero
Project Zero
T
Threatpost
P
Privacy International News Feed
人人都是产品经理
人人都是产品经理
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - Franky
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research

博客园 - zijinguang

做站长的经验 网站如何提高PR值 十种必看的经营订阅人列表坏习惯 站长问题纠结 购买空间注意事项 sql常用时间函数 帝国CMS核心文件简要描述-帝国CMS CMS碎片讲解 中国的互联网 站长日常工作必备记录详细单 帝国 CMS 数据表讲解 Zend Framework入门指引 oracle 卸载 国外网站记录 淡定抗议 十几分钟经历地狱到天堂 浅谈网站运营 SEO工具学习 如何做站 ScriptX,smsx打印控件安装及无法打印的问题
服务器是否支持采集或远程保存功能说明
zijinguang · 2011-12-22 · via 博客园 - zijinguang

服务器是否支持采集或远程保存功能说明 


支持采集或远程保存需要满足以下两个条件:
1、php配置文件 php.ini 的allow_url_fopen项要设置为On

allow_url_fopen = On


2、服务器DNS设置:
远程读取是通过服务器去访问对方网页或文件,所以你的服务器访问不了对方网站或速度慢就会无法读取或保存。 
还有部分DNS可能无法访问部分网站,这个都要注意。测试空间是否支持采集或远程保存:
本地用记录本建个 fp.php 文件,内容为如下:

<?php
echo file_get_contents('http://www.163.com');
?>


然后把fp.php文件上传空间访问,如果访问fp.php显示内容为http://www.163.com网站内容就表明空间支持采集与远程保存,否则为不支持。
测试建议:连续访问fp.php文件多次,以测试空间网络是否稳定,部分空间网络不稳定会一会儿能读取一会儿不能。