Hi Everyone, I am not sure what syntax language this should be coded in, But I was hoping there was a code GURU, here that could point me in the right direction. ;-) I have an image hosting website and I am trying to measure the bandwidth used when images load and then have the page display the TOTAL bandwidth used to date like so: ( this would be per page / image ) 634,567 views : 279.45 GB bandwidth Can Anyone help me code this or tell me how I can code it? Thanks so much in advance
I don't think you could check the exact value with PHP. Use gzip compression. Use PNG instead of all other image formats (such as BMP), don't load specific CSS sheets if not needed, etc. Start reviewing your code - good luck. 635K views from how much unique visitors? That counts. Returning visitors may have cached versions of your page.
hello if you log all images loaded is simple xviews X imagesize = total bandwidth now you have a bandwidth per image make one array and use array_sum() . Best
hello you make a query from database and get images view ok ? after get image size , if like i help you to make but need more info to help Best
Hi, Are you available for hire? Let me know, I am looking for a PHP person to help me build / add - on to a script