[英]How to write system output to a file without >filename in command line in php
I want to write my system
output to a file with out using >filename
in command line. 我想在命令行中不使用>filename
将system
输出写入文件。 Using the same format of the output. 使用相同的输出格式。
system("ping -n 4 $host",$result);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.