PHPBTTracker+ 1.6 - Tracker consistency help

The purpose of the tracker consistency page is to correct displayed statistics if they are incorrect. It also removes peers that have not reported to the tracker in a reasonable amount of time.

Please note that this script DOES NOT require you to be logged in to the administrative interface.

Although this tracker can correct incorrect stats if clients use the /scrape output, this may not be the best way to keep the stats correct. The /scrape method adds overhead to the tracker responses (in execution time). If you have a lot of peers on the tracker this will limit how many in total you can have online at any time. The better solution would be for the tracker owner to set up crontab to run this file every 3 hours or so. (Keep in mind that you should not use the webserver for this. Use the php executable.) A sample crontab entry that would repeat every three hours is similar to:

* */3 * * * * php /path/to/bta_consistency.php

Here is a bit of an explanation of what is displayed, by each column.

Name/Info Hash: This is the name of the torrent, or simply the info hash value.
Size:           This is the size of the torrent.
UL:             This is the amount of seeders on the torrent. The background will change to black if it is corrected.
DL:             This is the amount of leechers on the torrent. The background will change to black if it is corrected.
XFER:           This is the amount of transfer over the life of the torrent. The background will change to black if it is corrected.
Speed:          This is the current speed of the torrent. The background will change to black if it is corrected.
Avg % Done:     Amongst all the peers, the is the average progress on the torrent. The background will change to black if it is corrected.
Stale Clients:  If clients have not reported in a long time and are removed, it's indicated how many were removed here.