5, December 2008

Script Limit the number of downloads per client. Need Help - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Miscellaneous scripts or snippets (Moderator: Olaf)
Topic: Script Limit the number of downloads per client. Need Help
« previous next »
Pages: [1] Print

Author 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 Visit through proxy 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: Male
Posts: 6487
39754 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Aug 22, 2008, 03:06:35 PM »

Hi,

first check this thread first:
http://www.webdigity.com/index.php/topic,7494.0.NEW+Support+forum%21.html Visit through proxy

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 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


Last blog : Just a better Internet portal provided by Google
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7934
Tags : Limit the number of downloads per client Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Miscellaneous scripts or snippets (Moderator: Olaf)
Topic: Script Limit the number of downloads per client. Need Help
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Dec 05, 2008, 04:20:10 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!


Forum Statistics
Total Posts: 38.000
Total Topics: 7.685
Total Members: 4.470
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: srinivasarao

27 Guests, 5 Users online :

9 users online today:



Readers

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