XFileSharing Pro - Want to add something on download page.

Message
Author
KristiKristo
Posts: 35
Joined: Jan 04, 2011 11:11 pm

Want to add something on download page.

#1 Postby KristiKristo » Apr 24, 2011 6:04 pm

Hello

I want to add one the download page something, in the comparing Premium/free table.
For ex, if speed for free users is 150KB, and the file is 150MB, it means it can be downloaded for 1000seconds = 16 minutes and 40 seconds.

If it is premium, it has a speed of 5MB/s, so it means 30 seconds.

Calculations are simple, File-size/speed_free = seconds
File-size/speed_premium= seconds.

Speed_free and speed_premium will be set by me on the file (no need to take from system). How this can be done? It shouldn't be very hard, just to take the fsize, do the division, that's all.

Can anyone help?

REgards