The php server code