title: Track User Bandwidth With PHP Application
body: <p>I'm working on campus project using PHP and CodeIgniter.<br>
  It's only a project for my assignment.<br>
  Then it comes that i have to limit bandwidth used by user (of app, not linux user).<br>
  And i have no idea to implement this.<br>
  I wonder if someone know the logic or ever work on the similar tasks.<br>
  What basically i need is, how to track that user (system user, not linux user) bandwidth?<br>
  Should i count every requests and responses for that user?<br>
  How to count for imagse and static files download for specific user system?<br>
  Any hints is greatly appreciated.</p>
  
  <p>Thaks<br>
  Ivan</p>