Archive

Tag Archives: tracker

Recently I decided, to redesign the site’s downloads system. Originally I was using the excellent PHP Click Counter from PHPJunkyard to count downloads. However the script was far from perfect and presented problems each time I released a new download. For the revamp I decided I wanted to use MySQL databases to store the data. Unfortunately I could not find a script which would do exactly what I required. So I made my own.

Three hours later the PHP and MySQL Link/Download Tracker was born.

What it does: The script will count link clicks and store its results in a database.

Setup:

  1. Create a new database using you web hosts control panel
  2. Select your new database in Phpmyadmin
  3. Go to the query tab and paste the following in the box:
    CREATE TABLE `Data` (
    `id` VARCHAR( 50 ) NOT NULL ,
    `count` INT( 10 ) NOT NULL default '0' ,
    PRIMARY KEY ( `id` )
    ) ENGINE = MYISAM ;
  4. Open up config.php and change the database values to match your settings
  5. Open up get.php and change the id’s and url’s in the links array to reflect the id’s you want to use. See below for an example:
    $links = array(
    "mydownload1" => "http://some.site/mydownload1.zip",
    "mydownload2" => "http://some.site/mydownload2.zip"
    );

    So if your download was called mytest, you would change mydownload1 to mytest and set the url to the download url of the file. You can add as many id’s as you wish.

  6. Upload get.php, show.php and config.php to your server
  7. Done

Usage:

The script is called like this: /get.php?id=mydownload1

So instead of linking to /mydownload1.zip, link to /get.php?id=mydownload1

To show your download stats simply call show.php rather than get.php

Download
Source

Update: See here.

Pirate Bay Sinking

After a long a fight The Pirate Bay has finally been sold to the Global Gaming Factory (GGF). This is the end of The Pirate Bay as we know it.

TPB will probably become a paysite and they will have therefore broken there stance on the world of torrents.

Personally i did not use TPB but i liked what they stood for; freedom and sharing and i loved the attitude against anti-piracy groups.

So TPB is now a sinking ship (literally) and the Bittorent world will sadly miss it. By the way things are going Miniova may be the next to fall.

But for now there are many alternatives such as openbittorent or demonoid.

UPDATE: 99% of torrents uploaded after the decision have 0 seeds and 0 leechers.

After reading some comments on TPB wordpress it appears people are having issues with the tracker. Not a good sign.

0 Seeds 0 Peers

Also take a look at TBP’s legal threat page here.

Today it was announced that The Pirate Bay will close it’s tracker and remove all torrents.

Half of the worlds torrents will stop dead when the trackers goes down. Instead TPB will host torrents via 3rd party trackers.

R.I.P The Internet