Connecting Tech Pros Worldwide Forums | Help | Site Map

Limit Download Speed w/ Php

Newbie
 
Join Date: Jun 2006
Posts: 3
#1: Jul 17 '06
Hey, I need a script that will limit download speed and I want it integrated into the script I am using below. The script below forces downloads and hides url paths and logs stastics of downloads and displays them. I want to make it so if I import this script using the include header that it will also limit the download speed for files on my site to 20kbps. I don't want to have to include any fancy stuff in the <a href> tag. I have attached the php file as a txt file. Thanks.
Attached Files
File Type: txt download.txt (23.5 KB, 280 views)

pbmods's Avatar
Site Moderator
 
Join Date: Apr 2007
Location: Texas
Posts: 5,435
#2: Jan 24 '09

re: Limit Download Speed w/ Php


Heya, Bigpoppa.

PHP isn't really the tool for this. Try using Apache to throttle the bandwidth (apache throttle bandwidth - Google Search).
Reply