What is a simple way to send a few obj-c variables to a php script, and return data. (Sample code please :))
Asked
Active
Viewed 1,226 times
2
-
http://stackoverflow.com/questions/5967573/ios-communicating-with-sql-database – t q Jun 08 '12 at 04:34
1 Answers
0
Try to use property list encoding: http://developer.apple.com/library/mac/#documentation/cocoa/conceptual/PropertyLists/Introduction/Introduction.html
Built-in in Objective-C, and very easy to use from PHP, as it's only XML...

Macmade
- 52,708
- 13
- 106
- 123
-
-
1Use the NSURLRequest class: http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSURLRequest_Class/Reference/Reference.html – Macmade Feb 26 '11 at 07:08