9, February 2010

limit downloads per ip address - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  WebDigity Community  >  Forum Lounge
Topic: limit downloads per ip address
« previous next »
Pages: [1] Print

Author 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: Male
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.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
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('localhost', 'db_user', 'password');
mysql_select_db('db_name', $cs_conn);

be replaced by

$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: Male
Posts: 5642
45485 credits
Members referred : 3



« Reply #3 on: Nov 03, 2009, 10:36:30 am »

Exactly. You should replace those

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
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: Male
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.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Bill Cosby is my Father
*
Posts: 4
28 credits
Members referred : 0


« Reply #6 on: Nov 03, 2009, 03:18:07 pm »

How can I contact 'Olaf' about this enquiry?
Just another rainy day
*
Posts: 1
6 credits
Members referred : 0


« Reply #7 on: Nov 06, 2009, 05:23:18 pm »

Wow thanks for the help guys..very helpful I also working on this..
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5642
45485 credits
Members referred : 3



« Reply #8 on: Nov 07, 2009, 11:58:06 am »

I will tell Olaf to check this thread Wink

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6690
34708 credits
Members referred : 374


It's time to use PHP5!


« Reply #9 on: Nov 07, 2009, 03:00:14 pm »

Hi,

which script are you using,
and please describe what you want to do


Last blog : A new Wordpress theme for our blog
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=9299
Tags : limit downloads per ip address Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  WebDigity Community  >  Forum Lounge
Topic: limit downloads per ip address
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Feb 09, 2010, 06:15:41 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!





Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2010 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.