Hi Michael,
Yeah, I suspected that might be the case. Looks like you will either have to install the Livecode server or use PHP (or another server language).
Basically with accessing the server you are basically going to 'print' the results of a database call (from whatever language) to the output (a browser window is a direct view onto it). When using a call from Livecode on the iphone the browser is not part of the equation and the output is picked up directly by the caller (ie the iphone Livecode app).
On the iphone you simply do a:
Code: Select all
put URL "http://192.168.1.2/hithere.php" into tData
and the server that has the 'hithere.php' file will run it and send the output back to the livecode.
You could try it with the current hithere.php and a couple of lines of code on the iphone:
Code: Select all
put URL "http://192.168.1.2/hithere.php" into tData
put tData into field "serveroutput"
(obviously have a field called "serveroutput")
If you try the Livecode Server route then it would be much the same, but using Livecode in place of the PHP code from my tutorial example.
I might have a play with installing LC server and converting the code to LC - but not just now!!
Anyway, it's 3:20 am here in Thailand and I need to head to bed.
Good luck with whatever you do.
Cheers,
Dave
PS.
MySQl has to be configured to allow certain ip addresses to access it directly. Somewhere there is a place where you tell it to accept requests from '%' - which covers all access.
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.