Transferring PHP client codes from: http://code.google.com/p/l2p-hello-bookmark/