views:

27

answers:

2

Hi there,

I am developing an iPhone app, which now can update Twitter account with GPS coordinates in real-time, by the Twitter API link: http://username:[email protected]/statuses/update.xml , and I am looking at how to make my own database to accept updates from iPhone, via a similar API page.

It seems a .php page can serve as the API, and MySQL can serve as the database.

What are the good ways of doing it? Any template code and tutorial please?

A: 

Thanks for the answer. I found the php page just need code like

$userid=$_POST["userid"];
$companyid=$_POST["companyid"];
$phoneid=$_POST["phoneid"];

to receive POST from the iphone app.

lionfly