Improve the PHP example

- Implement the status report
- Be more verbose regarding cURL