lection of tabels within a MySQL database. This .csv file is then
downloaded to a windows machine.
Any suggestions?
Henry
"Henry Grech-Cini" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear All (and B.A.T.Svensson in particular)
Dear All (and B.A.T.Svensson in particular)
I agree. It should not be necessary with a proper language. Could it be that
I need to use a different header as opposed to:
header("Content-type: Application/octet-stream");
In anycase doing TrimRight() and adding on a "\n" did not work!
Henry
"B.
;Content-type: Application/octet-stream");
> > header("Content-Disposition:
attachment;filename=download/download.txt");
> > header("Content-Description: PHP Download");
> > header("Content-Length: $file_size");
> > readfile($file_name);
&
type carriage returns of
newlines! However it does contains the data thank goodness.
What is the fix?
Henry Grech-Cini
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php