开发者

need to write flash game score in XML file

I am working on a flash game which is a shooting egg game. I want to export a score(what 开发者_运维百科ever it may be ) to the xml file so that using php developer can take it from there n post it to the wall just like we play games on facebook n it asks you that "Do u want to post your scores?". The variable of Dynamic text box is score.


I have done this in the past and have sent the score directly to a PHP script eg. php?name=Trevor&score=103 (make sure you encrypt it though, so people can't 'game' it). The php script then stores it in a small database table if the score is within the top 10 scores.

When the scores are required for display, the PHP/SQL requests the top 10 scores and orders them by score.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜