试试这个链接:http ://humberinteractive.com/2013/api/index.php?fname=keo
您可以看到它使用 $_GET['fname'] 并打印出我需要的内容。
我试过了:
$.ajax({
    type: 'GET',
    url: 'http://humberinteractive.com/2013/api/index.php?fname=keo',
    success: function(data) {
        alert(data);
    }
});
但它不起作用...
jsfiddle:http: //jsfiddle.net/3V8VP/
帮助帮助