MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)
For example if your server doesn't have all the upload speed you want you can allow some bandwidth for others. If your site depends on it, you could let paying users download faster.
You asked for reasons, not if it's viable in PHP.
__________________
I'm not sure if this was any help, but I hope it didn't make you stupider.
Experience is something you get just after you really need it. PHP Installation Guide Feedback welcome.
MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)
If your looking for another reason, you could make it so opening images from on other servers is very slow. (And forces them to be taken as apps, forcing sites to download your images and host them on their site, not hotlink, by checking if the image is being called by your server.)
If your looking for another reason, you could make it so opening images from on other servers is very slow. (And forces them to be taken as apps, forcing sites to download your images and host them on their site, not hotlink, by checking if the image is being called by your server.)
That's a rather contrived use. If you want to block hotlinking, there's much easier ways to do so, such as rewrite rules.
An idea I had for this is to right a code to moniter how many users are on your server, and divide the download speed evenly to everyone, to prevent the server from overloading. That was my original idea with this... (I have no idea if that would work though, but it sounds nice :P)
...$online_users = mysql_num_rows($result);
//total bandwidth you want to use (downloading)
$totalb = 2000;
function force_download($file, $filename="", $directory="/", $downloadspeed="$totalb")