#!/usr/local/bin/php -c /usr/local/lib/php.ini "; echo system("$dir/../update/update.sh"); echo system("$dir/update.sh"); echo "
"; } if ($commit) { $fp=fopen("$dir/permissions.txt","w+"); while (list($key,$val)=each($check)) fwrite($fp,$val."\n"); fclose($fp); } $current = @file("$dir/permissions.txt"); $data=file_get_contents("/etc/passwd"); $usersl=explode("\n",$data); $users=""; $cnt=0; for ($x=0;$xCouldn't deteremine user standardly!
"; $list=exec("cat /etc/passwd | grep /home/ | awk -F: '{ print $1 }' | tr '\n' ':'"); $users=explode(":",$list); } echo "Select the users that can access the Awstats Plugin:
"; $cnt=0; for ($x=0;$x$users[$x]
"; $cnt++; } } echo "
  "; ?>