为什么我的Ajax发布请求不起作用?

我有一个法语网站,并且在localhost上可以正常使用,它是用php和javascript以及html和mysql创建的:http://techtionary.comeze.com/game.php。 通过有效注册后查看页面game.php,如果你查看源代码,则会收到我所有的ajax请求。这个网站由于一个逾期未决的项目,在一夜之间被黑了,所以不要批判编码风格了...... 请告诉我为什么我的Ajax发布请求不起作用?

Looking at it in firebug, your game.php file sends a request to maketable.php - but it looks for it on the localhost, rather than its location on the server.

Look at the request in firebug:

GET http://localhost:8888/school/maketable.php

localhost in your code

    setInterval(function(){ 
        $("#about").prepend("<div id='message'></div>");
        $("#message").load("http://localhost:8888/school/maketable.php");
    }, 3000);
    setInterval(function(){ 
        $("#points").load("score.php");

$("#message").load("http://localhost:8888/school/maketable.php");