More docs and an example

Added example php code (deal with it) for server handling.