John Schattel wrote:
> lacks a file name. So when a program like Google Earth tries to
> process the file, it fails. When I bring ndfdViaPipe.kmz into WinZip,
> the file has no name but can otherwise be extracted just fine. Once
> extracted, Google Earth can process the file. Does anyone know how I
> might add the "file name" information to the ndfdViaPipe.kmz?
Add some headers before you send the file:
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename=\"blah.zip\"");
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php