On Wed, August 9, 2006 11:40 pm, Dave M G wrote:
> Robert said:
>> It's all about the headers...
>> header( "Content-type: text/csv" );
This only forces a download if the browser has not been configured to
do something special with text/csv
application/octet-stream
is the correct answer
On Wed, August 9, 2006 11:15 pm, Richard Lynch wrote:
> On Wed, August 9, 2006 11:20 am, Dave M G wrote:
>> How do I create a file that the user saves, and is not stored on the
>> server?
>
> http://richadlynch.blogger.com
Curses!
Foiled again!
Can't even type my own name :-v
http://richardlync
Robert, Ray, Richard,
Thank you all for responding with helpful advice.
Robert said:
It's all about the headers...
header( "Content-type: text/csv" );
header( "Content-disposition: inline; filename=$filename" );
Ah... that's something I think I never would have figured out wi
On Wed, August 9, 2006 11:20 am, Dave M G wrote:
> How do I create a file that the user saves, and is not stored on the
> server?
http://richadlynch.blogger.com
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
On Wednesday 09 August 2006 11:20, Dave M G wrote:
> PHP List,
>
> In the last stage of my current script, I need to take a bunch of data
> from the database and put it into a text file for the user to save to
> their computer and import into an application.
>
> The file being created is just a lis
On Thu, 2006-08-10 at 01:20 +0900, Dave M G wrote:
> PHP List,
>
> In the last stage of my current script, I need to take a bunch of data
> from the database and put it into a text file for the user to save to
> their computer and import into an application.
>
> The file being created is just a
PHP List,
In the last stage of my current script, I need to take a bunch of data
from the database and put it into a text file for the user to save to
their computer and import into an application.
The file being created is just a list of Japanese words and definitions
delineated by tabs.
7 matches
Mail list logo