JSONP - hlavičky
<? header("content-type:text/html; charset=utf-8"); header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: POST'); header('Access-Control-Max-Age: 1000');