Programmatically create task from another PHP application?

Tagged:  

We're writing another application in PHP, and I'd like to change the default PHP error handler to automatically add a new tasks to ProjectPier under a task list like "Application Errors" which just contains the details of the error.

Capturing the errors is easy, but... is there a way to create the task in ProjectPier?

Project pier and this application will be running on the same server, if that matters.

Sean