Topic: limit downloads per ip address (Read 687 times)
Bill Cosby is my Father
Posts: 4
28 credits Members referred : 0
« on: Nov 02, 2009, 04:36:29 pm »
Hello there,
I understand that .htaccess file and dl.php files should be placed in the folder that contains the file I want to put a download limit on. Could you please advise me about where to enter your code to collect databse. I am new so I don't know this one.
Also, if there is any wording in this that needs to be replaced please.
Thanks
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5642
45485 credits Members referred : 3
« Reply #1 on: Nov 02, 2009, 07:00:37 pm »
Do you know anything about programming? I suppose not, so the best thing for you would be to get a script from hotscripts (or any other similar script directory) and use it for this.
Bill Cosby is my Father
Posts: 4
28 credits Members referred : 0
« Reply #2 on: Nov 03, 2009, 02:06:16 am »
Nikolas,
You are quite right I know nothing about programming.
Still, I have managed to work out that your dl.html file contains all the codes I have mentioned above. So that is resolved because that's where they go however, I have another problem: Should
$cs_conn = mysql_connect('my FTP server', 'my user name on the server', 'my password on the server'); mysql_select_db('host directory on the server', $cs_conn);
?
Or it should be something else.
please advise. thanks
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5642
45485 credits Members referred : 3
Bill Cosby is my Father
Posts: 4
28 credits Members referred : 0
« Reply #4 on: Nov 03, 2009, 11:11:27 am »
Thanks for your reply. I have replaced the fields as mentioned above but it has not worked. When I click to download the a file it gives an error saying 'The web page cannot be found' HTTP 404 not found. Is there anything else that I need to do? please help. thanks
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5642
45485 credits Members referred : 3
« Reply #5 on: Nov 03, 2009, 02:10:10 pm »
I can't help you with that because this has to do with the script you are using. You should contact the script programmer for help.