| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| First Time Poster! Join Date: Nov 2004
Posts: 1
![]() | download limit Anyone know how or point me to where I can find help on a script to limit the amount of downloads a person can download per day from my site. I am useing cpgnuke, But any script will do, I'll just get help on porting it to work with cpgnuke. Thanks. |
| |
| | #3 (permalink) |
| Senior Member Join Date: Aug 2004 Location: Criticize BUSH at CRITICIZE.TV
Posts: 1,155
![]() ![]() | there are scripts working to control downloads/uploads like the one below http://www.hotcgiscripts.net/?c=e-file-manager21 if you need a customized script go to www.scriptlance.com or you can configure apache to limit bandwith for ip based connections (if you are using a linux/unix dedicated server) |
| |
| | #4 (permalink) |
| NamePros Regular Join Date: Sep 2003
Posts: 890
![]() ![]() | or for custom you can hire me!
__________________ Online Time Tracking :) |
| |
| | #5 (permalink) |
| Senior Member Join Date: Mar 2004
Posts: 1,402
![]() ![]() ![]() | A simple way to do this is to have the “download” links point to a script that checks some criteria and redirects to the actual download URL if everything is OK. It's not foolproof , but it gets the job done in a few lines of code. Another thing you might want to do is use the script to block certain user agents. I have an old script I used to run that works this way. If you're interested it's perlscript. |
| |