Thread: [REQ] 2 addons
View Single Post
  #5  
Old 14th December 2014, 10:15
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,242
Default
Quote:
Originally Posted by firefly007 View Post
In takesignup.php find

PHP Code:
$id mysql_insert_id(); 
and under it add this

PHP Code:
mysql_query("UPDATE users SET uploaded = uploaded + '5300000' WHERE id= '" $id "'"); 


it should be better to use in the syntax WHERE id = " . sqlesc($id) . " for security reasons
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote