Run command-line through PHP
Posted: Thu Sep 25, 2008 5:44 am
I need to do some command lines through a browser. What I need to do in a command-line would be:
I've tried doing this with "shell_exec" but it doesn't work (because I need to input 5 parameters in the command-line.
So, how can I do this?
Thanks
Code: Select all
$login
<login name>
<password>
$passwd
<old password>
<new password>
<retype new password>
So, how can I do this?
Thanks