PHP run from console - automatic password input
| From: | asdf zxcv | Date: | Tue, 29 Nov 2011 02:21:50 +0000 |
| Subject: | PHP run from console - automatic password input | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-315860@lists.php.net to get a copy of this message | ||
I'm trying to make my php script (run from console) to input nesesary data
when console asks for it.
For example, i want to automatically manage revoking self-signed
certificates, but when i exec("command") then system asks me to give the
pass phrase. I dont want to do that. Instead, I want my script to input the
password automatically.
Is there any way to achieve that?
Regards
Peter