Requests for images bypass php, so you need get it from apache log.
Torsten Rosenberger wrote:
Hello
Is it possible to get the transfer (traffic) size from a webpage
as is stands in the apache access_log file
127.0.0.1 - - [07/Jan/2003:13:01:58 +0100] "GET /~torsten/cups/pdf.php
HTTP/1.1" 200 48 (size)
When i work with outbut buffer i only get the html source size with
ob_get_length.If there are images in the side this method faild
ob_get_length ignores the images.
I can get the size if i parse the apache log file but there is no way
to assign it to a customers homepage because i use a CMS.
Maybe there are other ways.
BR/Torsten Rosenberger
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php