Henry wrote:
> It didn'ti work ;-(
>
> Just showed a page with the data in!
>
> How would I do it with a file in any case?
>
You can give the PHP script the extension .csv and use AddType
application/x-httpd-php .csv to your httpd.conf or .htaccess file.
If you want to use a temporary file, you
PROTECTED]
Subject: [PHP] Re: Generating CSV files on the fly and getting the
browser to download
It didn'ti work ;-(
Just showed a page with the data in!
How would I do it with a file in any case?
Henry
"Lallous" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]&q
It didn'ti work ;-(
Just showed a page with the data in!
How would I do it with a file in any case?
Henry
"Lallous" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Try this:
>
> $fileextension="csv";
> $filename="report";
> $fnsave = "$filename.$fileextensi
Try this:
Elias
"Henry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi All,
>
> I suspect this is a commonly asked question but; how do I generate a CSV
> files on the fly and get the browser to download it.
>
> Do I actually need to generate a file or c
4 matches
Mail list logo