I want to make some modifications to this software:
[url removed, login to view]
It's programmed in PHP and it uses MySQL and ZLib Module.
Before making any modification I need you to answer the following question:
Question: This script is written to distribute traffic evenly and it does pretty well. Can you tell me how it knows how to equally distribute among the outgoing sites and what could disrupt this? Multiple hits same time? Does it check database to see which sites have gotten traffic already? I want to know how it works so I can explain why not always equal amounts of traffic are distributed among all outgoing user urls.
Now about the modifications I need:
1/ Users SHOULD NOT be able to register themselves. Only admin should be able to add new users.
2/ Admin should be able to add new urls to user accounts or edit existing urls.
3/ Users can login to their account (once created by the admin) but they CAN NOT add/edit any url.
They can JUST and ONLY display their stats. I don't want them to have any control. They cannot change their login/password but they can use the "I forgot my password" link though.
So to recap, users can only display their stats and get an email if they forgot their password.
Admin has full control. Admin can create new users and add/edit urls to these user accounts.