Warning: Cannot modify header information - headers already sent by
(output started at /home/virtual/site26/fst/var/www/wesco/
branch_locate/index.php:1) in /home/virtual/site26/fst/var/www/wesco/
branch_locate/mapshit.php on line 3
That is the message...i apologize for being vague.
Here is the top of my index.php
<?
require("mapshit.php");
?>
<head>
Here is the top of mapshit.php
<?php
require("dbinfo.php");
header("Content-type: text/xml");
function parseToXML($htmlStr)
{
$xmlStr=str_replace('<','<',$htmlStr);
$xmlStr=str_replace('>','>',$xmlStr);
$xmlStr=str_replace('"','"',$xmlStr);
$xmlStr=str_replace("'",''',$xmlStr);
$xmlStr=str_replace("&",'&',$xmlStr);
return $xmlStr;
}
and here is db info...
<?
$username="jp-clients";
$password="Zi4A0";
$database="jp-clients_com_-_branch_locator";
?>
Where did i go wrong?
<title>Google Maps AJAX + MySQL/PHP Example</title>
<script src="http://maps.google.com/maps?
file=api&v=2&sensor=true&key=ABQIAAAAZ_SrJgWMAgCiZaFtdEGW0hRgad6R7s3CpOtZfLSL8NTUOl4VthSngnUtu2ZUMksC0x2FDwX9XxR-1Q"
type="text/javascript"></script>
On Jul 13, 8:41 am, Ralph Ames <[email protected]> wrote:
> >It keeps telling me its this line thats jacked up....
> >header("Content-type: text/xml");
>
> What was the exact "jacked up" message?
>
> Did you remove all blank lines including files that are included.
>
> Ralph
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---