|
-
May 12th, 2005, 10:07 AM
#1
Thread Starter
Frenzied Member
download a file
I have a database that stores file locations and the like...
I need for PHP to start the download of a file... is this possible.
I would just put the filename in a link, but have to keep track of who downloads what... it's a big mess.
Thanks,
squirrelly1
Now happily married and still crankin' away at the keyboard.  Life is grand for a coder, no?
-
May 12th, 2005, 10:18 AM
#2
Re: download a file
Have a look here.
Cheers,
Ryanj
-
May 13th, 2005, 10:35 AM
#3
Thread Starter
Frenzied Member
Re: download a file
Every script I have tried for downloading a file does not seem to work... It will download the file, but then it prints the contents to the screen... even tarballs!
squirrelly1
Now happily married and still crankin' away at the keyboard.  Life is grand for a coder, no?
-
May 14th, 2005, 05:44 AM
#4
Re: download a file
How odd, did you set the mime type?
Cheers,
RyanJ
-
May 16th, 2005, 09:27 AM
#5
Thread Starter
Frenzied Member
Re: download a file
no... i'm not even sure how to do that...
I just used the code that was in your last link... it did the same thing.
Squirrelly1
Now happily married and still crankin' away at the keyboard.  Life is grand for a coder, no?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|