hello, i need to make a php application to limit user's bandwidth but the problem is i'm not sure how to measure the http/ftp/ssh traffic per user basis. thank you.
You can measure the http and ftp traffic by parsing the Apache and FTP logs. For example, file sizes are logged in Apache's access log.