I am running a wamp server from which I am developing a webpage.
4 months ago, everything was working. However, now when I run the page, the XMLHttpRequestObject.send("data=" + data);
does not send the data.
Running the chrome debugger, I got the message:
Cross origin requests are only supported for protocol schemes: http, data, chrome-extension, https, chrome-extension-resource.
Failed to load: 'file:///C:/wamp/www/hello.php'.
Going through this post: XMLHttpRequest cannot load file. Cross origin requests are only supported for HTTP
a solution would be to run a local server. However, is there a way of doing this by only using WAMP?