Re: Create an EUC-JP encoded file just for download, not to be kept on server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 with the manual alone. Now that I know, it seems super easy.

Thanks to everyone - those who responded directly as well as the PHP list in general.

With the right regular expressions and file handling mechanisms in place, I now have a script that does everything I set out for it to do.

Everyone's time and expertise is very much appreciated.

--
Dave M G

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux