PDA

View Full Version : how to inclue php files in iOSSimulator buiid native?



huypham612
22 Sep 2012, 5:33 PM
Sencha Touch 2

hi all,

In my controller, to locate the php file I used Ext.Ajax.request:
Ext.Ajax.request({
url: '/~huypham612/MyApp/server/signup.php',
params: params,
.....

This works fine for google chrome. But when I ran the app on IOSSimulator, it failed to call the php file and didnt do anything.

Any help is appreciated, Thank you.

huypham612
22 Sep 2012, 8:18 PM
nvm, I needed the whole http:.. in url. Rookie mistake :)