Updated PHP script to receive match data