Your string needs to be encoded before sending :
..
var SimTxt = encodeURIComponnent("some text & some other text");
xmlhttp.send(&SimTxt ="+SimTxt);
...
-- and the string (which actually is treated as a parameter, and therefore is splitted by &
), will not be treated as an URI component by PHP.