Topic: Script Limit the number of downloads per client. Need Help (Read 286 times)
Just another rainy day
Posts: 1
10 credits Members referred : 0
« on: Aug 22, 2008, 02:44:35 PM »
Hello, was using the script and I have some problems. I have some large files on the site, the script to work properly, exactly where I can implement the code: set_time_limit (0);? It may be as below? in dl.php:
$ DL = true; ) if ($ dl) ( set_time_limit (0);
are correct?
Another problem is that when the script directly access the browser eg www.mysite.com/dl.php he asks to save it, putting at risk my data source and the code of the script, how to fix it?
Thanks.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6487
39754 credits Members referred : 374
set_time_limit (0); is just a setting that will disable the default time limit in PHP
your link is broken or what do you mean with
Another problem is that when the script directly access the browser eg www.mysite.com/dl.php Visit through proxy he asks to save it, putting at risk my data source and the code of the script, how to fix it?
do you see all code? if yes your hosting account doesn't support PHP