Implementation of the player.php file

The player.php file does the communication between the client and the database.