...

View Full Version : Getting filesize of gzipped file?



Bill Posters
08-13-2007, 09:23 AM
Regular filesize:

filesize($filename)

I'm gzipping files on-the-fly (currently only css and js).

How does one get the filesize of a gzipped file (e.g. external js file) in order to echo it out within a page?


Ta, muchly.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum