View Single Post

  #4 (permalink)  
Old 05-24-2007, 11:54 AM
jerry jerry is offline
Member
User
 
Join Date: Jun 2005
Posts: 78
Rep Power: 0
jerry
Default

Hmm...
Replace
Code:
$shellscript = “/usr/bin/sudo autopasswd”;
With
Code:
$shellscript = “/usr/bin/sudo /var/www/html/autopasswd”;
Also when you run a php script just look at apahce error and access log using tail -f command - you will get error message
Code:
tail -f access.log
tail -f error.log
Reply With Quote