Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Nov 2004
    Location
    Perth, UK
    Posts
    105
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Flash High Score list using PHP

    Is it possible to export variables from a Flash game (such as a highscore) into a MySQL database using PHP? I want to do it, but I don't have Perl on my webserver (Perl being the only way to do it, so I was told).
    Geodesic_D
    "I'd much rather be called GeodesicDragon."

  • #2
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    u can do this with any serverside programming language, not just perl. u've to use the getURL function with the values to be passed to the php script as url-encoded parameters sorta like

    Code:
    var score = 100;
    getURL('updateHiScore.php?score=' + score);
    check here for more info http://livedocs.adobe.com/flash/8/ma...=00001730.html
    You never have to change anything you got up in the middle of the night to write. -- Saul Bellow

  • #3
    Regular Coder
    Join Date
    Nov 2004
    Location
    Perth, UK
    Posts
    105
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I'm using Flash MX, not Flash 8 - I could get the trial of Flash 8 though - would that still work?
    Geodesic_D
    "I'd much rather be called GeodesicDragon."


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •