Re: FW: [PHP] Re: Generating an Excel file?

2004-01-20 Thread Ben Ramsey
John W. Holmes wrote: From what I've seen on here, the only workaround is to pass an extra variable in the URL that ends in .csv, even though you don't need to use that variable. file.php?var=whateverdummy=f.csv Olwen - Sal Williams wrote: Name it for example something.csv The in your

Re: FW: [PHP] Re: Generating an Excel file?

2004-01-20 Thread php
if you are using sessions: remove session_start() inside the downloadscript or play around with http-headers, e.g.: session_start(); header(Expires: .gmdate(D, d M Y H:i:s, 0). GMT); header(Last-Modified: .gmdate(D, d M Y H:i:s). GMT); header(Cache-Control: private, max-age:0); header(Pragma:

Re: FW: [PHP] Re: Generating an Excel file?

2004-01-20 Thread Ben Ramsey
[EMAIL PROTECTED] wrote: or download the file without the php-script and analyse the http-headers with a network-sniffer There is no way to download the file without the PHP script. It is being generated by the PHP script from data in a database. The file does not actually exist. -Ben --

Re: FW: [PHP] Re: Generating an Excel file?

2004-01-20 Thread CPT John W. Holmes
From: Ben Ramsey [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: or download the file without the php-script and analyse the http-headers with a network-sniffer There is no way to download the file without the PHP script. It is being generated by the PHP script from data in a database. The

Re: FW: [PHP] Re: Generating an Excel file?

2004-01-20 Thread php
save the data from the script to a file and download this file Tue, 20 Jan 2004 12:56:49 -0500 Ben Ramsey [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: or download the file without the php-script and analyse the http-headers with a network-sniffer There is no way to download the file without