PHP help for as2 program

I am triing to make a game thats aves high scores to a website, I would like to have say, top 10 scores with 3 letter names. I have no idea what I am doing with anything other than as2, so could I possibly get some help? I tried to use a remote shared object, but it doesn’t work. I have been making games for a few years, but I haven’t tried multiplayer/online scoring before.
I use the variables score and hscore.