Hello all ye 4Images Boffins (and as always a special shout out to V@no)
,
SUMMARY:
I need to get the Total MB size value of the Item downloaded from my 4Images.
DETAIL:
When a user clicks on the zip/File download icon, whether in Lightbox or Image Detail pages, i need to pull that file size of the zip as the items is available to download. i will use this value further down the php page in another SQL statement.
This request is very similar to your mod "User Image Download Counter" : download.php sends zip file to user and updates DB with image count - i will be doing the exact same except with Zip/File Total MB size in a different table.
The Result Value can be rounded off to the nearest whole integer with a minimum size of 1MB.
ENVIRONMENT:
4Images 1.7.2
Running on XAMPP (on Removable USB HD) running on WindowsXP, Windows2000 and Windows2003 (it often changes)
PHP 5.2.3
MySQL 5.0.45-community-nt
Thanking you in advance,
WeZ