PHP读取其他机器下的文件

WBOY
Release: 2016-06-13 13:04:48
Original
830 people have browsed it

PHP读取其他机器上的文件?
我想写个页面监视几台不同机器上运行的perl程序的状态,最好能动态显示这些程序的输出,就向看控制台一样,不知道PHP怎么读取这些输出?
------最佳解决方案--------------------
php一般是根据网络传输协议获取,http,ftp……之类,前提是有获取权限

想做到动态,可能需要不断做定时请求
------其他解决方案--------------------
你的python程序必须要监听端口并输出你要监控的值,php再socket连接之,否则没办法
------其他解决方案--------------------
系统方面管理,用python比较好吧.
linux系统默认就安装了python

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