The problem is that your editor has added this to the PHP script.
So, whereas ...
html
head
title?php echo $someTitleInPHP; ?/title
...
will echo the HTML tags with the title embedded, the BOM arrives also.
PHP5 and lower will NOT treat the BOM any different to any other content.
You will
Alternatively, you could just skip the first 3 characters of the response...
response.substring(3);
http://www.w3schools.com/jsref/jsref_substring.asp
2009/3/30 Richard Quadling rquadl...@googlemail.com:
The problem is that your editor has added this to the PHP script.
So, whereas ...