Good afternoon question on the development of a mobile application on html5 .

C using IntelXDK wrote the application. Register respectively for php and MySql, how to bind it to the application, if it is on the phone, i.e. how to make authorization and registration in the application. I understand that we have to leave the handler php on a remote server, but having done so and directly contacting the result "0".

I posted a php script on mysite.ru/logIn.php and send it to js

 $.post('http:// mysite. ru/logIn.php', {}, function(){}); 
  • When using Denwer, everything works - Kamil NHOT
  • If you are trying to send this request from the browser to the PC, it will not work, because browsers prohibit cross domain POST requests. On a mobile device, everything should work. - naym
  • Thanks, tried - it helped - Kamil NHOT

0