adding php server code for assignment3