|
|
Joined: Dec 1999
Posts: 30,867
Master Elite Member
|
PHP: Get a specified number of characters from the keyboard without echoing to the screen function UIQuiet_Chars($CharCount = 1) {
$Cmd = "/usr/bin/env bash -c 'read -n " . $CharCount . " -s x && echo \$x'";
return rtrim(shell_exec($Cmd));
}
|
|
|
|
|