[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 11-15-2004, 11:25 AM   #1 (permalink)
First Time Poster!
 
Join Date: Nov 2004
Posts: 1
2.00 NP$ (Donate)

bobocop is an unknown quantity at this point


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.
bobocop is offline  
Old 11-15-2004, 07:57 PM   #2 (permalink)
Account Closed
 
LeeRyder's Avatar
 
Join Date: Jan 2004
Location: Left Coast
Posts: 3,515
3.00 NP$ (Donate)

LeeRyder is a glorious beacon of lightLeeRyder is a glorious beacon of lightLeeRyder is a glorious beacon of lightLeeRyder is a glorious beacon of lightLeeRyder is a glorious beacon of light


hmm.. i think e107coders.org has something for the e107 system... but I can't recall it's name.

Perhaps taking a browse there and youll find it?

Best of luck
LeeRyder is offline  
Old 11-16-2004, 12:03 AM   #3 (permalink)
Senior Member
 
Ferman's Avatar
 
Join Date: Aug 2004
Location: Criticize BUSH at CRITICIZE.TV
Posts: 1,155
49.00 NP$ (Donate)

Ferman has a spectacular aura aboutFerman has a spectacular aura about


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)
Ferman is offline  
Old 11-16-2004, 10:16 AM   #4 (permalink)
NamePros Regular
 
CreativeLogic's Avatar
 
Join Date: Sep 2003
Posts: 894
138.00 NP$ (Donate)

CreativeLogic has a spectacular aura aboutCreativeLogic has a spectacular aura about


or for custom you can hire me!
__________________
Online Time Tracking :)
CreativeLogic is offline  
Old 11-16-2004, 11:08 AM   #5 (permalink)
Senior Member
 
Join Date: Mar 2004
Posts: 1,404
2,705.50 NP$ (Donate)

primacomputer is a jewel in the roughprimacomputer is a jewel in the roughprimacomputer is a jewel in the rough


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.
primacomputer is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 03:14 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85