Page 1 of 1
Bandwidth
Posted: Thu May 08, 2003 9:04 am
by jaycooke
How could i find out bandwidth usage with php for a folder. Without using a account in apache.
Need this info asap is possible, a script would be helpful, but what every you guys have to give
Thanks
Jayson
Posted: Thu May 08, 2003 11:27 am
by volka
please explain a bit more in detail.
esp.
Without using a account in apache
Reply
Posted: Thu May 08, 2003 11:53 am
by jaycooke
Im starting my free hosting website soon, it just creates an folder for each username and an ftp account, then the user can create mysql dbs and so on. I've figured out how to check how much space is used. So i just do an cron job every 12 hours to make sure people are not going over there limit. But i need a script that will work out how much bandwidth is used for there account. In this case for an folder.
But i don't want to have to but an access log line in for every account in an .htdocs file.
Thanks
Posted: Thu May 08, 2003 12:02 pm
by volka
then the new
mod_logio module is out of the question?
Posted: Thu May 08, 2003 12:10 pm
by volka
btw:
http://www.analog.cx/ seems to be quite popular but I'm not familiar with it so can't tell you wether it is able to seperate requests based on the directory name.
Reply
Posted: Fri May 09, 2003 2:55 pm
by jaycooke
Any other ideas? that script seams to be really hard to configer.
Posted: Fri May 09, 2003 10:14 pm
by m3mn0n
yea i was lost in that also....heh
