In the users table, you would need to create a column for upload limit.
then create a recordset to lookup the users upload limit.
then add an update record behavior, set it to update the users upload limit to:
<?php echo $row_RecordsetName['UploadLimit'] -1; ?>
this way, each time a file is uplaoded, upload limit will be reduced by 1.
now use server validation on the upoload form. For the server variable use:
$row_RecordsetName['UploadLimit']
Use number validation set the minimum to 1 and the maximum to 100
you will need to be careful of the code order on the page. The code orde will need to be:
recordset
Server Validation
Upload
Update record