Dynadot โ€” .com Transfer

Image hosting script

Spaceship Spaceship
Watch

silentkiller

Established Member
Impact
1
I have an image hosting site running.. its custom coded.

what is a good way to manage the bandwidth usage?

Such as implementing a bandwidth cap/limit... do you use php/mysql or are there some other feasible ways of doing it?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Limit the file size of images uploaded and you could also limit the number of times the image is allowed to be view per day.
 
0
•••
Agreed best to just count the views on the image, via a php/asp script at the top of the image page. Have a cron job or schedule that clears that every 24 or however many hours. If it goes past the limit, just redirect to a page stating the image is unavalible due to bw concerns, or your homepage.
 
0
•••
Domain Recover
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back