thanks a lot, i will look into it

What functions would I use to create a new user, create a thread, search etc? and with what variables?

For displaying the forum, I guess I would alter the display code so that it outputted XML, like this:

<messages>
  <message id = 0>
    <title>The Title</title>
    <message>Lorem Ipsum message. Lorem Ipsum message. Lorem Ipsum message</message>
  </message>
  <message id = 1>
    <title>The Title</title>
    <message>Lorem Ipsum message. Lorem Ipsum message. Lorem Ipsum message</message>
  </message>
</messages>

.. since parsing XML is reasonably easy on the iPhone.

I'm asking if it's possible to set up PunBB on a server to act as the backend of part of an iPhone app. So there is no website, it's just accessible via the iPhone app. So a user could create new threads etc on the iPhone without using a website.

I know how to do the iPhone stuff.. I'm just wondering if PunBB can be the forum backend bit.

I'm not really a server-side person – I generally do iPhone apps, though I've hacked together a few Wordpress sites.

I'm curious as to whether I could use PunBB for the back-end of an iPhone app whose front end presents as a basic forum. In other words, people can create new threads, and respond to them - with plain text only - on the iPhone, and use PunBB as the backend on a server somewhere. The phone can send GET and POST stuff via http.

The forum would not exist as a website.. the only way to access it would be on the phone.

Could I use PunBB for this? Other parts of the spec include no user registration - the user just chooses a name, and ability to search (titles only)