The website im operating is one that allow users to upload and download files from the website.
I have a member system already using MySQL database.
What I am looking for is to add a quota system: each member has 30 quota originally. Whenever they download one file the quota will be reduced by one unit. However if they upload one file, the will increase the quota by 5 units.
I have already a script for downloading already. I need a script to be implemented into the existing script to make this system work.
if you need more info...feel free to ask me thanks