I\'m making an Ajax.request to a remote PHP server in a Sencha Touch 2 application (wrapped in PhoneGap).
Ajax.request
The response from the server is the following:
This is because of same-origin policy. See more at Mozilla Developer Network or Wikipedia.
Basically, in your example, you need load the http://nqatalog.negroesquisso.pt/login.php page only from nqatalog.negroesquisso.pt, not localhost.
http://nqatalog.negroesquisso.pt/login.php
nqatalog.negroesquisso.pt
localhost