Generate example code for PHP that takes POST into account

Closes #36