Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.php > #4395
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Arno Welzel <usenet@arnowelzel.de> |
| Newsgroups | de.comp.lang.php |
| Subject | Re: HTTP Content Streaming |
| Date | Fri, 13 Jul 2018 10:21:13 +0200 |
| Lines | 34 |
| Message-ID | <fqr5npFfia1U1@mid.individual.net> (permalink) |
| References | <fqk8egF6u5pU1@mid.individual.net> <fqpmdvF7cb0U6@mid.individual.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net Tr53+GI+NTm/VwK1knaL3AhyfyG2GUob5rZJJHUmjYPJM4FoS0 |
| Cancel-Lock | sha1:FEgyYU4ZDq2UTvvj9Gzf+wf2MhM= |
| In-Reply-To | <fqpmdvF7cb0U6@mid.individual.net> |
| Xref | csiph.com de.comp.lang.php:4395 |
Show key headers only | View raw
Arno Welzel:
> Jörg Burzeja:
>
>> Hallo und guten Abend,
>>
>> der alte Code für eine Ausgabe als XLS-Datei funktioniert; der neue Code
>> für eine XLSX-Datei zeigt leider einen Fehler an (Dateiformat oder
>> Dateierweiterung ungültig).
> [...]
>> //header('Content-Disposition: attachment; filename="test.xlsx"');
>> // ======================================================
>> echo "<table>
>> <thead>
>> <tr>
>> <th>Column 1</th>
>> <th>Column 2</th>
>> </tr>
> [...]
>
> Das ist aber kein XLSX, sondern HTML.
Nachtrag - für Excel-Spreadsheets wäre das hier sinnvoll:
<https://github.com/PHPOffice/PhpSpreadsheet>
Das habe ich auch schon eingesetzt und das funktioniert recht problemlos.
--
Arno Welzel
https://arnowelzel.de
https://de-rec-fahrrad.de
http://fahrradzukunft.de
Back to de.comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar
HTTP Content Streaming Jörg Burzeja <No_Spam_burzeja@gmx.de> - 2018-07-10 19:24 +0200
Re: HTTP Content Streaming k@rl.pflaesterer.de (Karl Pflästerer) - 2018-07-11 00:07 +0200
Re: HTTP Content Streaming Jörg Burzeja <No_Spam_burzeja@gmx.de> - 2018-07-11 08:07 +0200
Re: HTTP Content Streaming k@rl.pflaesterer.de (Karl Pflästerer) - 2018-07-11 12:37 +0200
Re: HTTP Content Streaming Jörg Burzeja <No_Spam_burzeja@gmx.de> - 2018-07-11 19:56 +0200
Re: HTTP Content Streaming k@rl.pflaesterer.de (Karl Pflästerer) - 2018-07-11 21:55 +0200
Re: HTTP Content Streaming "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-07-11 23:32 +0200
Re: HTTP Content Streaming Jörg Burzeja <No_Spam_burzeja@gmx.de> - 2018-07-12 20:29 +0200
Re: HTTP Content Streaming Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-07-11 00:28 +0200
Re: HTTP Content Streaming Jörg Burzeja <No_Spam_burzeja@gmx.de> - 2018-07-11 08:06 +0200
Re: HTTP Content Streaming Arno Welzel <usenet@arnowelzel.de> - 2018-07-12 20:53 +0200
Re: HTTP Content Streaming Arno Welzel <usenet@arnowelzel.de> - 2018-07-13 10:21 +0200
Re: HTTP Content Streaming Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2018-07-13 08:33 +0000
Re: HTTP Content Streaming Arno Welzel <usenet@arnowelzel.de> - 2018-07-13 23:26 +0200
Re: HTTP Content Streaming Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2018-07-14 06:12 +0000
Re: HTTP Content Streaming Arno Welzel <usenet@arnowelzel.de> - 2018-07-15 20:39 +0200
Re: HTTP Content Streaming Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2018-07-16 05:47 +0000
Re: HTTP Content Streaming Jörg Burzeja <No_Spam_burzeja@gmx.de> - 2018-07-16 20:48 +0200
Re: HTTP Content Streaming Arno Welzel <usenet@arnowelzel.de> - 2018-07-17 21:21 +0200
Re: HTTP Content Streaming Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2018-07-18 15:26 +0000
csiph-web