Re: [PHP] File download by php header...

2003-07-22 Thread Scott Fletcher
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

Re: [PHP] File download by php header...

2003-07-21 Thread Chris Hayes
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

Re: [PHP] File download by php header...

2003-07-21 Thread Curt Zirzow
* 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

Re: [PHP] File download by php header...

2003-07-21 Thread Scott Fletcher
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] *

Re: [PHP] File download by php header...

2003-07-21 Thread Scott Fletcher
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