Version 1.24.0


This API command will basically just dump out the whole contents of /usr/local/directadmin/data/admin/show_all_users.cache. No modifications, no encoding. If a reseller calls it, the file will be parsed, and only the lines for the users in the Resellers list will be outputted, as well as the resellers own user info line. Sample code to get data for each user, assuming httpsocket.php: $sock->query('/CMD_API_ALL_USER_USAGE'); $lines = explode("\n", $sock->fetch_body()); foreach ($lines as $line) { $username = strtok($line, '='); $data = strstr($line, '='); echo "\n<br><br>found data for $username<br>"; echo $data; }

Try DirectAdmin with a 30-day money back guarantee!