Yes it's a PHP issue, not an XMLHttpRequest object from JavaScript, sorry.
But I've tried this on 4 different hosting services, and had various problems on every one. x10hosting is my favorite so far, because it allows SSI and DocumentRoot to be easily used, and 100% of my code can be used...