Hi, thanks for your quick response.
Here is my php code which is exactly same as in the link I posted. I just changed this one line with my shell script name
Code:
<?php
$shellscript = “/usr/bin/sudo autopasswd”;
.....
.......
// display footer
function writeFoot(){
echo ‘