# High score list

**URL:** <https://forum.kirupa.com/t/high-score-list/61299>\
**Category:** Uncategorized\
**Created:** [August 17, 2004, 4:43pm UTC](https://forum.kirupa.com/t/high-score-list/61299 "2004-08-17T16:43:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kensapp](https://avatars.discourse-cdn.com/v4/letter/k/3da27b/32.png) [@kensapp](https://forum.kirupa.com/u/kensapp)\
**Post date:** [August 17, 2004, 4:43pm UTC](https://forum.kirupa.com/t/high-score-list/61299/1 "2004-08-17T16:43:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 17, 2004, 7:46pm UTC](https://forum.kirupa.com/t/high-score-list/61299/2 "2004-08-17T19:46:16Z")

</div>

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