   [web] realtime site stat
  is there any way using php that I can find out the status of my website? Like which files are currently being downloaded by which IP?im trying to write a script for a friend to monitor realtime download status, not dissimilar to a very very small fileplanet. i need to be able to tell how many downloads are in progress so that future dls can get queued or whatever. any help with be greatly appretiated. thanks!   
  Take a look at this thread regarding sessions. Simply write something to a database table everytime that someone using a certain sessions tries to download a file. The best way would be rerouting downloads through a PHP script. That is, write a PHP script that outputs the requested file instead of linking to the actual file.BTW: Are you really attracting so many downloads that you need to start queueing them? Apache is usually pretty good at handling those himself.   