Exc.BluePhoenix Posted February 9, 2008 Share Posted February 9, 2008 I apologize if the title is bad. Hello, I am looking for a php script that caps the speed at a set amount, when users download from my server. For example, if its a member, I would want the download speed at 200kb/s, however if its a guest I would want the speed cap at 40 kb/s. I am also looking for as script that makes so you cannot download more than one files at the same time, and that sets a limit on the number of files, for example only two files can be downloaded a day from the same IP. Kinda like Mega Upload and Rapid Share. Any information about this would be extremely welcome. Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/90270-php-cap-and-limiting-script/ Share on other sites More sharing options...
rhodesa Posted February 9, 2008 Share Posted February 9, 2008 PHP is just for generating content. It doesn't handle any of the transporting to the client. Your webserver handles this part, and I'm pretty sure Apache has modules for doing this. Quote Link to comment https://forums.phpfreaks.com/topic/90270-php-cap-and-limiting-script/#findComment-462825 Share on other sites More sharing options...
Exc.BluePhoenix Posted February 9, 2008 Author Share Posted February 9, 2008 ah alright thanks man. Quote Link to comment https://forums.phpfreaks.com/topic/90270-php-cap-and-limiting-script/#findComment-462867 Share on other sites More sharing options...
rhodesa Posted February 9, 2008 Share Posted February 9, 2008 There is an Apache area on the forum, I would move the post over there (or mark this solved and start a new one). While familiar with Apache, I would hardly consider my self 'advanced' in it, and this is one of those 'advanced' topics. Quote Link to comment https://forums.phpfreaks.com/topic/90270-php-cap-and-limiting-script/#findComment-462891 Share on other sites More sharing options...
Exc.BluePhoenix Posted February 9, 2008 Author Share Posted February 9, 2008 I cannot find the Topic Solved button. I will repost this in the Apache part of the forum. Thanks again for all your help. Quote Link to comment https://forums.phpfreaks.com/topic/90270-php-cap-and-limiting-script/#findComment-462908 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.