command line evidence prompt php


i'm minute management line apparatus assistance web app. needs evidence bond service. i'd book arrangement evidence prompt i don't have pass management line argument.



that's easy enough, nonetheless i'd relate evidence shade it's typed. i php?



bonus points doing pristine php (no system('stty')) replacing characters *.



edit:



the book run unix component (linux mac). book combined php, many approaching stay that.



also, record, stty proceed doing is:



echo "password: ";
system('stty -echo');
$password = trim(fgets(stdin));
system('stty echo');
// supplement new line given users cr didn't echo
echo "\n";


i'd move have system() calls there.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members