Found the problem. It is the odbc_connect() that cause the download to fall
short of completing it's download. Weird! I think it's because the
database connection have a slower response time than the download response
time. PHP header should not be affected by the odbc function... But then I
At 16:15 21-7-03, you wrote:
Hi!
I'm using PHP 4.3.2 and IIS 5.0. I'm using the PHP header to cause the
webserver to download the file to the web browser. Some of the time it work
and some of the other time, it doesnt. I haven't figured out why until I
looked in the error log which showed
* Thus wrote Scott Fletcher ([EMAIL PROTECTED]):
Hi!
I'm using PHP 4.3.2 and IIS 5.0. I'm using the PHP header to
cause the webserver to download the file to the web browser. Some
of the time it work and some of the other time, it doesnt. I
haven't figured out why until I
Um, problem is I don't have any scripts before this sample header function.
So, something is up. Does the file size 49 MB have something to do with it?
Okay, saw both of the replies, so will check them out.
Thanks,
Scott
Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
*
btw, also on the content-disposition, not only will some browsers not
honor that, they will just use the name of the script as the 'save-as'
filename.
That's okay with the 'save as' filename because no one know hte real
filename on the webserver because it is renamed when it is download
5 matches
Mail list logo