28th September 2019, 12:19
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 172
|
|
Quote:
Originally Posted by Elena
Your topic: https://www.bvlist.com/showthread.php?p=54130
What userfree in the request is responsible for:
Code:
$rz = mysql_query("SELECT id, uploaded, downloaded, class, userfree, parked FROM users WHERE passkey=".sqlesc($passkey)." AND enabled = 'yes' ORDER BY last_access DESC LIMIT 1") or err("Tracker error 2");
And the code that I gave works 100%. I offered you the best result with a minimum of costs and queries to the database.
|
You can add a free download per user if you want can post my code here
|