Home  >  Article  >  Backend Development  >  为什么要禁用fsockopen?

为什么要禁用fsockopen?

WBOY
WBOYOriginal
2016-06-23 14:05:06884browse

好像很多主机都禁用了 fsockopen fpsockopen  这个函数能拿来干什么


回复讨论(解决方案)

流量,有fsockopen/curl/socket之类都可以写个php当proxy用

fsockopen 可以绕过http协议完成一些可能是非法的工作
出于安全的考虑,禁用 fsockopen 是再正常不过的事情了

出于安全考虑...

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