CMCrashReporter: Technical information

The server-part


CMCrashReporter will send a POST-Request to the server. This POST-Request contains the follow keys:

KeyExample contents
typeCMCrashReporter (as check)
applicationQuickScale
appVersion1.0
osVersion10.5.1
commentsI was dragging a image and the application crashed
time15:03:59
date01/21/2008
mailaddressname@domain.tld
rapport...technical rapport...

One requirement is that the server responds with a simply 'ok' when the crashreport is received.
Really just a 'ok' without spaces, without ' , caps, whitespace, enters...

It is very easy to do something with this data. You can email this data to yourself, send a 'thanks' mail to the reporter, add the crashes to an database, store them on a server...
Lets give some examples.

Basic mailer (PHP)

(Download - View source)

This script simply mail you the crashlog and all the available data.

Basic mailer with a 'thanks for report'-mail (PHP)

(Download - View source)

This script simply mail you the crashlog and all the available data and send a thanks mail to the reporter.