Re: [PHP] Creating a File in Memory

2007-09-08 Thread Per Jessen
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

Re: [PHP] Creating a File in Memory

2007-09-07 Thread Michael Preslar
Can't help with your main problem, however I find it easier to write the likes of : $kml_string = << wrote: > Hello All, > > I am trying to zip data in a PHP program using the following code. The > resulting file (ndfdViaPipe.kmz) is zip'ed but the data in the archive > lacks a file name. So whe

Re: [PHP] Creating a File in Memory

2007-09-07 Thread Graham Cossey
Can't help with your main problem, however I find it easier to write the likes of : $kml_string = $kml_string . ""; as: $kml_string .= ""; ;-) On 9/7/07, John Schattel <[EMAIL PROTECTED]> wrote: > Hello All, > > I am trying to zip data in a PHP program using the following code. The > resulti