<?php
Код: Выделить всё
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST, OPTIONS');
Модераторы: dobs, ArniXXX, hostess, bj
Код: Выделить всё
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST, OPTIONS');
Код: Выделить всё
.......
function tag_load(){
if (this.readyState == "loaded"){
get_result(true);
};
};
........
el.onreadystatechange = tag_load;
Код: Выделить всё
Date: Sat, 19 Jan 2013 22:15:28 GMT
Server: Apache/2.2.17 (Fedora)
X-Powered-By: PHP/5.3.5
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Connection: close
Content-Type: text/javascript; charset=utf-8