mak
Mon 2 November 2009, 03:36 pm GMT +0100
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
Nikolas
Mon 2 November 2009, 06:00 pm GMT +0100
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.
mak
Tue 3 November 2009, 01:06 am GMT +0100
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
Nikolas
Tue 3 November 2009, 09:36 am GMT +0100
Exactly. You should replace those
mak
Tue 3 November 2009, 10:11 am GMT +0100
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
Nikolas
Tue 3 November 2009, 01:10 pm GMT +0100
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.
mak
Tue 3 November 2009, 02:18 pm GMT +0100
How can I contact 'Olaf' about this enquiry?
horseracingtipster
Fri 6 November 2009, 04:23 pm GMT +0100
Wow thanks for the help guys..very helpful I also working on this..
Nikolas
Sat 7 November 2009, 10:58 am GMT +0100
I will tell Olaf to check this thread ;)
olaf
Sat 7 November 2009, 02:00 pm GMT +0100
Hi,
which script are you using,
and please describe what you want to do