Real-time platformer online game with php and As2?

I’ve already made this platform game in as2, but it gets boring quick with no reason for players to return and keep playing…

So I’m asking here wondering how I could make this as2 flash platformer into a real time multiplayer game, it’s ok if it’ll lag some, but I can’t get it to even connect to the server!

I need it to connect either to the server, or a php page on my website.

frankly I don’t even know if php is the way to go for this, but anything anyone could come up with is appreciated!

PS: I already used google, nothing helpful :stuck_out_tongue: