Hi sir,

             What i did, i just run the php file and got the kml file with
the extension .php. That output saved with .kml extension. and uploaded
google server.

the file in my machine, i gave the path of that kml path, which is coming
from google server. then its working fine. What i mean every time i have to
run php file and getting kml file then i have to work with that kml by
manually.

but i need, this process automatically, what i mean..if the user hit the
file, then php file has to execute and get those details in my map.

Thanks for you help,

with sincerely,
sravan

On Thu, Mar 5, 2009 at 1:15 AM, Rossko <[email protected]> wrote:

>
> > I really strucked here. if any one have idea...please help to me.
>
> Can't do anything to help at the moment, your 'server' (your PC?) is
> offline.
> It's not going to be easy if you can't put your pages on a real
> server.
>
> Qouting from your thread in the KML group -
> "and i tried to generate kml by run the php file i got kml file with
> extension .php... "
>
> Yes, that's what is supposed to happen.
> The javascript on your webpage makes a request to your script at
> xxxx.php
> You server knows it has to run the php script because of the .php
> extension.
> You php script runs and the data it generats and returns is actually
> in KML format.
> The javascript receives and processes the KML data, it cares not what
> file extension it asked for.
>
> " and i changed extension to .kml then i uploaded from
> google now its working fine."
>
> I don't understand what you did, but if you change the filename
> extension of a php script to something other than .php it probably
> won't work.
>
> cheers, Ross K
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to