system函數
php中的system函數,可以方便的調用shell程序$result = system("command_path", $return);
這樣就可以在不同的case中exit不同的值(int型)給$return, 并在出錯時echo出錯誤信息給$result;
posted on 2012-10-19 18:46 lonelycastle 閱讀(61) 評論(0) 編輯 收藏 引用 所屬分類: work
posted on 2012-10-19 18:46 lonelycastle 閱讀(61) 評論(0) 編輯 收藏 引用 所屬分類: work
只有注冊用戶登錄后才能發表評論。 | ||
【推薦】100%開源!大型工業跨平臺軟件C++源碼提供,建模,組態!
![]() |
||
相關文章:
|
||
網站導航:
博客園
IT新聞
BlogJava
博問
Chat2DB
管理
|
||
|