Send Entry: How do I create a REST service in PHP?

The form below can be used to send a blog entry to a friend. Please fill out the form below. The owner of the blog will be CCed.