Reply to Re: force as kml download

Your name:

Reply:


Posted by windandwaves on 08/17/07 00:12

On Aug 17, 11:21 am, Rik <luiheidsgoe...@hotmail.com> wrote:
> On Fri, 17 Aug 2007 00:55:06 +0200, windandwaves <nfranc...@gmail.com>
> wrote:
>
> > I would like a php file to be a forced download as KML file, but I am
> > not sure how to do it.
>
> > I would like it
>
> > a. to have the KML extension (e.g. myfile.kml rather than myfile.php)
> > - I could possible do this by writing the output of myfile.php to
> > newly created file (myfile.kml) I guess
>
> Good for less updates, lots of downloads
>
> > b. force it as a download and have the appropiate header.
>
> Good for rapidly changing data.
>
> So, it depends.
> --
> Rik Wasmus

It will definitely be option B. Almost every download will be unique.
But I dont mind doing option A if this works better. The problem is
that the file extension is .php so when people save it, it will be
myfile.php no matter what header I sent.

Love some more help with this.

Cheers

Nicolaas

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация