Update server.php

'server.php' base written. [Fixes in writing data]