New Upload in shoutbox
Hi.
Someone knows how to appear a new torrent in the shoutbox automatically? |
in takeupload.php add this shows new torrent uploaded in shoutbox plus gives the uploader 3 gigs every time to their account
////////new torrent upload detail sent to shoutbox////////// $text = "New Torrent Uploaded ".htmlspecialchars($torrent)." 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']); header("Location: $BASEURL/details.php?id=$id&uploaded=1"); add it between this *******************/ code goes here header("Location: $BASEURL/details.php?id=$id&uploaded=1"); |
thanks :D
How i can color "New Torrent Uploaded ".htmlspecialchars($torrent)." please thank the uploader!!"; ? |
[color] ur text here [/color]
|
All times are GMT +2. The time now is 17:31. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.