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 shoutbox
If i upload a torrent the announce works, but the user who is posting after is announcing the torrent.
How to fix this.