PHP client example code