> I am logging server activity to a MySQL database.  Unfortunately, I
> have yet found a way to log the number of bytes being transferred to a
> visitor.  The closest I've come to anything like that is
> apache_lookup_uri() but I'm not sure it's meant to handle such a
> thing.  Does anyone know a solution to this?

I wouldn't use PHP for this at all.  Look at Apache's Piped Logs feature
that sends log entries to an external process for logging.  Should be
relatively simple to pipe it to something that enters the information into
a MySQL DB.  I bet something exists that does just that somewhere.

-Rasmus


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to