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.
The views expressed on this page by users and staff are their own, not those of NamePros.
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.