CMCrashReporter: Technical information
The server-part
CMCrashReporter will send a POST-Request to the server. This POST-Request contains the follow keys:
| Key | Example contents |
|---|---|
| type | CMCrashReporter (as check) |
| application | QuickScale |
| appVersion | 1.0 |
| osVersion | 10.5.1 |
| comments | I was dragging a image and the application crashed |
| time | 15:03:59 |
| date | 01/21/2008 |
| mailaddress | name@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.