Use fgetc function with STDIN . See example bellow. $input = fgets(STDIN, 1024); echo "\nAre you sure?\n"; $conf = fgetc(STDIN); if ($conf ...
確定! 回上一頁