Home  >  Article  >  Backend Development  >  为啥要禁用fsockopen

为啥要禁用fsockopen

WBOY
WBOYOriginal
2016-06-13 11:21:16930browse

为什么要禁用fsockopen?
好像很多主机都禁用了 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