14th December 2014, 10:15
|
VIP
|
|
Join Date: Dec 2008
Posts: 1,243
|
|
Quote:
Originally Posted by firefly007
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:
- Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
- Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
- Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
- Multiple source code engines
- Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
|