David: see part 2 of the tutorial –
http://lornajane.net/posts/2008/PHP-Rest-Server-part-2-of-3