Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Flush user peers
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2010-01-15 23:22:42
takeflush.php

<?

require_once("backend/functions.php");



dbconn();



loggedinonly();



$id = 0 + $_GET["id"];



mysql_query("DELETE FROM peers WHERE userid = $id");



header("Refresh: 0; url=account-details.php?id=$id");

?>


Make somewhere in account-details.php link:

print("<h0>Flush This User Torrents, <a href=takeflush.php?id=$id>$CURUSER[username]</a>!</h0>\n");

Thats it! Greeting to DBdev.
Unknown User
2010-11-04 15:10:50
"Cigano, post: 67042":
hello it used for?

Hi,

this is to flush all peers from the table in each user account-details
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728