First of all thank you for helping....
with my code it doesn't work.
I have a game made with macromedia director(lingo). every time someone play and end the game lingo give the variables to a php-site. I have the problem that i want to save old scores and put the new score in it (sorted) and i haven't the right way to do this.
do you have a script or an idea for highscore upload????????