At 4:41 PM -0500 5/28/10, Karl DeSaulniers wrote:
On May 28, 2010, at 4:25 PM, tedd wrote:
At 3:39 PM -0500 5/28/10, Karl DeSaulniers wrote:
Hello,
How can I go about restricting the number of downloads of a file
on my server?
For Eg: if I want a music track to only be able to be downloaded
b
The users will have gone through a registration and login to get to
the downloads.
The files will be served from MySQL and output to HTML of Flash.
This is for a small project of limited edition audio or pictures or
scripts, etc.
Hens, "I'd like" to limit each user in the allotted 150 to be ab
On May 28, 2010, at 4:25 PM, tedd wrote:
At 3:39 PM -0500 5/28/10, Karl DeSaulniers wrote:
Hello,
How can I go about restricting the number of downloads of a file
on my server?
For Eg: if I want a music track to only be able to be downloaded
by 150 people and thats it.. ever,
how can I go
At 3:39 PM -0500 5/28/10, Karl DeSaulniers wrote:
Hello,
How can I go about restricting the number of downloads of a file on my server?
For Eg: if I want a music track to only be able to be downloaded by
150 people and thats it.. ever,
how can I go about doing this?
Much obliged,
Karl DeSauln
On May 28, 2010, at 3:54 PM, Marc Guay wrote:
How can I go about restricting the number of downloads of a file
on my
server?
Something like this could be triggered every time and then you can do
whatever you want once it hits 150... maybe have it send you an email
notification or something..
> How can I go about restricting the number of downloads of a file on my
> server?
Something like this could be triggered every time and then you can do
whatever you want once it hits 150... maybe have it send you an email
notification or something...
http://www.stevedawson.com/article0007.php
-
At 7:47 AM + 6/8/06, kartikay malhotra wrote:
>New problem:
>Is there a way for the server to notify the client that a new file has
>become available for download, provided the client was online in the past X
>minutes?
>
>This could be done...
kartikay:
First, it's probably best if you start
Thanks to Tedd, Barry, George and others for help over "download file"
problem.
I'm going to receive an ACK if the file downloads correctly. In absence of
such an ACK, a script would quitely remove the temporary files after a fixed
interval of time. Temporary files have unique filenames.
New pr
At 8:42 AM + 6/7/06, kartikay malhotra wrote:
>Dear All,
>
>I have a HTTP server + MySQL database. Everytime a file is requested for
>download, my PHP script loads the content from the database into a temporary
>file (on the server). I then pass a URL to the client, with a link to this
>file. T
Dear All,
I have a HTTP server + MySQL database. Everytime a file is requested for
download, my PHP script loads the content from the database into a temporary
file (on the server). I then pass a URL to the client, with a link to this
file. The client can thus download the file at any time.
Howe
I am trying to force a file download using headers. The problem is not
forcing the download. That is working fine, but if the user wants to click
on another download while the first one is still downloading it won't let
the user do it.
Here is the code that I'm using, adapted from phpbuilder.com
View your Apache logs after doing these mods, just in case the database has
died after your testing that worked:
It's also good to have these lines stay in there so you can debug later...
> mysql_connect("localhost","user","pass");
... or error_log(0, "Could not connect to database in " . __F
vance
=
- Original Message -
From: "Data Driven Design" <[EMAIL PROTECTED]>
To: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, August 04, 2001 10:27 PM
Subject: Re: [PHP] file downloads
> I usually put or die(my
;Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Data Driven Design" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, August 04, 2001 1:01 PM
Subject: Re: [PHP] file downloads
> > I made the changes you suggested and it's still a no go. I'm s
> I made the changes you suggested and it's still a no go. I'm sure of the
> query because
>
> print "";
>
> Will display the image I'm trying to download.
How does that make the SQL query valid? You didn't implement the
mysql_query() error checking I suggested. That's likely what is causing
yo
rdorf" <[EMAIL PROTECTED]>
To: "Data Driven Design" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, August 04, 2001 11:57 AM
Subject: Re: [PHP] file downloads
> > Why does this code produce a page cannot be displayed error?
>
--
PHP General Maili
> Why does this code produce a page cannot be displayed error?
Your query is probably wrong. Comment out the header stuff and add some
error checking to your query.
> mysql_connect("localhost","username","password");
> mysql_select_db("database");
> $query = "SELECT file_path from photos wh
Why does this code produce a page cannot be displayed error?
Data Driven Design
1506 Tuscaloosa Ave
Holly Hil, FL 32117
http://www.datadrivendesign.com
http://www.rossidesigns.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
18 matches
Mail list logo