Simple Highscore saving problem ( urgent )

Greetings.
I made a simple game and a simple scoring system. Player writes his/her name first then plays the game and gets the score. Score and name are variables and writes on the screen at the end of the game.

The problem is ; i have to keep names and scores for every player who plays the game. I can save it with php or mysql but i have to do it offline ! The game will be played on computers without internet connection.

I googled about my problem and get some answers about sharedObjects but all the samples i’ve found are so complex.

  1. Is there any possible way to run php codes embedding in flash application ? ( maybe in a third party software ? ) or is there any “simple” way to save scores and names ?

  2. I’m sending my php codes i’m using to write and read in flash. Is there a actionscript version of these codes ?

  3. I’m using DataGrid for displaying scores and a php file as data source. Is there a way to use a txt file for data source ??

I need a solution fast :bored:

Thanks in advance for all your help.