Saving and loading game scores

I am wondering if someone could please tell me how I could save and load game scores? I want to load the first name then their score and finally the time that they completed the game in. Is it possible just loading a text file or do I have to use xml? I want people to be able to download the game from my website then play it. Not play it on the Internet. Can you please show me some code to get me started? Thanks in advance.