看板
[ PHP ]
討論串[請益] 在php網頁配合linux指令建立文字檔
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
void passthru ( string command [, int &return_var] ). void 的意思是... 不會有東西了. 所以你 $temp = passthru.... 怎麼可能有東西呢!?. 在說 :. http://tw.php.net/passthru. The
(還有328個字)
內容預覽:
目前我正在做一個測試. 希望將iptable內的某個表格全部寫到一個文字檔. 程式大至上為:. $fp=fopen("a.txt","w");. $temp=passthru("sudo /sbin/iptables -t nat -L -n");. fputs($fp,$temp);. fclos
(還有14個字)
首頁
上一頁
1
下一頁
尾頁