View Single Post
  #1 (permalink)  
Old 12-22-03, 08:58 PM
Agum Agum is offline
Newbie Coder
 
Join Date: Dec 2003
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
PHP: check data transfer on certain directories?

Hi,

suppose I wanted to write a script that gives free web sites (just supposing, I'm not writing one), and each user gets their own directory. If I were to limit each user directory's bandwidth, how would I write my script to check this?

I've heard of some scripts that can do this, but the only possible way I can think of is something that involves checking in the server logs/site statistics kind of log and determine how many bytes of data transfer certain directories are taking. If one doesn't have access those, one can't do that at all.

thanks for any ideas.
Reply With Quote