View Single Post
  #3  
Old 7th November 2013, 10:39
hatijahat hatijahat is offline
Senior Member
 
Join Date: Dec 2012
Malaysia
Posts: 43
Default
just want to share.
if someone use NexusPHP.
you can try this code, with same place paste the coding above.

Code:
$text = "New Torrent Uploaded : CLICK HERE!  ".$torrent."";
$userid = "putyoursystemID";
$username = "SYSTEM";
//$date=time();
$date=time()-6;
mysql_query("INSERT INTO shoutbox (id, userid, date, text) VALUES ('id'," . sqlesc($userid) . ", $date, " . sqlesc($text) . ")") or sqlerr(__FILE__, __LINE__);
just remove "username" in the mysql_query line.
Reply With Quote