you can do some php script that get input in xml\json and give output in xml\json. so that you can call this script from your iphone with ASIHTTPRequest or NSURLConnection, and you can parse what it return with NSXMLParser or JSON framework.
__________________
|