As you've already seen, when using shell_exec you have to chain your "real" command with echo $? to get the exit status:
確定! 回上一頁