Command Line Password Prompt in PHP

后端 未结 10 1537
北海茫月
北海茫月 2020-11-30 21:48

I\'m writing a command line tool to help my web app. It needs a password to connect to the service. I\'d like the script to show a password prompt so I don\'t have to pass i

10条回答
  •  误落风尘
    2020-11-30 22:29

    Works on every windows system, that has powershell support. (source from: http://www.qxs.ch/2013/02/08/php-cli-password-prompts-on-windows-7/ )

提交回复
热议问题