[Proto-Scripty] Re: Problem with responseText

2009-03-30 Thread Richard Quadling
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

[Proto-Scripty] Re: Problem with responseText

2009-03-30 Thread Richard Quadling
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 ...