View Single Post
  #1  
Old 14th September 2018, 14:24
modswat modswat is offline
Member
 
Join Date: May 2015
Posts: 4
Default Shoutbox torrent detail
PHP Code:
////////new torrent upload detail sent to shoutbox//////////
$text "New Torrent Uploaded [size=3][color=red]".htmlspecialchars($torrent)."[/color][/size] please thank the uploader!!";
$userid "0";
$username "shoutbot";
$date=time();
mysql_query("INSERT INTO shoutbox (userid, username, date, text) VALUES (" sqlesc($userid) . ", " sqlesc($username) . ", $date, " sqlesc($text) . ")") or sqlerr(__FILE____LINE__);

/////////////////////////////END///////////////////////////////////
mysql_query("UPDATE users SET uploaded = uploaded + 3221225472 WHERE id = "$CURUSER['id']); 


I copyed this code in takeupload.php
In my shoutboxClick the image to open in full size.

If i upload a torrent the announce works, but the user who is posting after is announcing the torrent.
How to fix this.
Reply With Quote