First, I am running (currently) php 4.0.6 under Redhat 7.2 with kernel
2.4.10
I know you can do the following:
?
header(Content-type: application/force-download);
header(Content-disposition: attachment; filename=blah.txt);
readfile(blah.txt);
?
to force the user to download a file.
Just curious, why not use FTP for such a large file?
/dkm
- Original Message -
From: Wei Weng [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 28, 2002 8:39 PM
Subject: [PHP] why isn't this working? (many questions inside)
First, I am running (currently) php 4.0.6
Maybe your script timed out before it could finish. Try
set_time_limit(0)
Another possibility is that your browser gave up. You may need 4GB of
disk cache because browsers usually save all files in cache before
copying them to the place you designate.
Robin
Wei Weng wrote:
First, I am
3 matches
Mail list logo