High score list

I want to create a simple high score list of 10 high scores of a game. From reading the forums I seem to get the idea that flash cannot create a simple text file. I don’t have php or asp but do have cgi capability. Does anyone know where I can find a simple cgi-script that will allow me to write the text the cgi receives to a simple text file: game.sco

I want to be able to write a single long string to it so that I create a string of values and can load it back in using flash loadvariables. I can create the string in flash… but how do I write it to a text file using a cgi script?

the text file would include this string…I already know how to read it and split it to parse it into arrays:

scores=100,90,80,70,60,50,40,30,20,10,0&name=name1,name2,name3,name,name5, name6,name7,name8,name9,name10&status=true

any help or pointers to help would be appraciated

this might be what you are looking for:
http://tech.irt.org/articles/js109/