On 2 December 2011 00:23, needgooglemaphelp <kellil...@hotmail.com> wrote:
> there are no blank lines anywhere in my code to do that though

OK, immediately after <?php add the line [exactly as here, all
lower-case except for the capital C]:

header('Content-type: text/xml');

That line will force the right MIME type (which I got wrong earlier).
It will also fail if something else has got there first and started
the output: you'll get a "Cannot send headers after output" message or
something similar. If you get an error message, and if your code has
no blank lines in it, then something on your server has changed and is
messing things up by sending output before your script does. That's
rather outside anything we can help with. If you do get an error
message and no data, you can always take that line out again.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to