The Little Guy Posted October 15, 2010 Share Posted October 15, 2010 Is it possible to make a std line password, so when the user types it is *** or a blank (like linux)? fwrite(STDOUT, "Password: "); $name = fgets(STDIN); Quote Link to comment https://forums.phpfreaks.com/topic/215899-stdinstdout-password/ Share on other sites More sharing options...
The Little Guy Posted October 17, 2010 Author Share Posted October 17, 2010 Anyone? Quote Link to comment https://forums.phpfreaks.com/topic/215899-stdinstdout-password/#findComment-1122900 Share on other sites More sharing options...
salathe Posted October 17, 2010 Share Posted October 17, 2010 Perhaps see http://blogs.sitepoint.com/2009/05/01/interactive-cli-password-prompt-in-php/ Quote Link to comment https://forums.phpfreaks.com/topic/215899-stdinstdout-password/#findComment-1122913 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.