I’m developing Iphone app with registration form. I want to check if the username is available. I think this could be done with call of php script on remote server. Php script should return json object if the username is in use. Is this the right way? Thanks 🙂
Cheers
Yes that is a perfectly valid approach. You’ll need to add JSON parsing to your app as there is no native support in Objective-c/cocoa touch, SBJSON http://stig.github.com/json-framework/ is a good option. asi-http-request may also be helpful for making the http request.