HI,
I am new to Runrev so I apologies if this is in the wrong section.
I want to be able to access a remote Database from an iOS App. I will do this using php pages to receive, process and send back the data.
Can anyone tell me if this is possible and where I can find some basic information about passing data to and from the App.
Thanks for the help
Richard
Access php page on iOS device
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Access php page on iOS device
Sure. Here's what a function to run a .php script looks like:
return url ("http://domain.com/songsapp/listallsongs.php")
You can also post to servers by passing data to html forms.
Sorry, I can't provide links to detailed info on how to do it, but if I can manage to work it out, any one can
Gerry
return url ("http://domain.com/songsapp/listallsongs.php")
You can also post to servers by passing data to html forms.
Sorry, I can't provide links to detailed info on how to do it, but if I can manage to work it out, any one can

Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.
Re: Access php page on iOS device
Thanks for that.
If I return the data in the form name=smith,score=22,name=jones,score=67 etc
What would be the best way to split this up in Livecode.
Help much appreciated.
Richard
If I return the data in the form name=smith,score=22,name=jones,score=67 etc
What would be the best way to split this up in Livecode.
Help much appreciated.
Richard
Re: Access php page on iOS device
Check out the text chunk handling commands in the user guide. It's pretty trivial to manipulate text in LiveCide.
Gerry
Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.