> <?php
> require('connect.php');
> ?>
>
> <?php
The blank line will be faithfully output by PHP.
In order to output even blank lines when no header has yet been given,
php will add in a default header.
> header("Content-type: text/xml");
Then this header attempt will fail, as you're only allowed one.
If the script breaks on this error, you won't get any XML.
Having to guess this is the error you see, as you haven't detailed it.
http://www.tech-recipes.com/rx/1489/solve-php-error-cannot-modify-header-information-headers-already-sent/
--
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.