我有两个php页面来更新帐户,一个前端和一个后端。
前端(重要部分):
<?php
session_cache_limiter('none');
session_start(); //session gets started
include_once 'includes/db_connection.php';
include_once 'includes/signin.php'; //file that deals with login and creates the session variables
include
我正在开发Web服务的前端(html-jquery)和后端(Php)。我正在使用XAMPP(Apache)在本地主机中进行开发。我把我的前端和后端保存在eclipse的不同项目中,只是为了让一切变得更干净。
但是,我需要从jQuery到php服务器进行ajax调用(Http请求)。我总是收到错误:XMLHttpRequest cannot load http://193.164.4.112/Server_CityInfo/whereSubscribed.php. Origin http://localhost is not allowed by Access-Control-Allow-Ori