I need to do some command lines through a browser. What I need to do in a command-line would be:
$login
<login name>
<password>
$passwd
<old password>
<new password>
<retype new password>
So, how can I do this using the proc_open
function?
Or should I use another function to do this?
Adam Wright, I've tried your example, but I just can't change users password. do I need to do any other things in the script (besides defining $user, $userPassword and $newPassword)?
Teşekkürler