作者gatheringbc (海苔沙琪玛)
看板PHP
标题[请益] 执行外部程式并取得回传值
时间Sun Sep 15 17:41:48 2013
如题~我目前想使用exec,原本的command确定在linux下执行没问题
但使用exec时每次都得到代码126
另外请问exec无法取得回传值是真的吗?
拜托各位了! 乾虾
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.114.218.163
1F:推 LaPass:system(); exec(); shell_exec(); popen(); 这几个都是相关 09/15 19:29
2F:→ LaPass:的,你去查一下,网路上应该有很多资料,我就不花时间讲了 09/15 19:29
3F:→ gatheringbc:谢罗 我找到解决方式了^^ 09/23 01:32