1.

Solve : Interactive leaderboard application?

Answer» HI there,

I'm trying to make an interactive leaderboard, so far the code i've written is:



<center>Leaderboard</h1>



  User 1:

  User 2:

 


Total for User 1
Total for User2


-----------------------------

As you can see i'm a fairly novice programmer... and so I need some advice on where to go to next:
I basically want to put a number in one of the user boxes, and then it would add to that users total.
Also, will the program be able to remember the values i've put in UPON exiting the application?

Any advice is great,

CheersYou are going to need a web server such as apache with a Perl or PHP module active, and then write code in PHP or Perl to generate dynamic html that gives the input form function, and then pass the values of that to the program. Most will also have a DATABASE such as MySQL that the values write to. This way when the server reboots or you ever have a power outage that causes the server to go down, the info is saved to disk and so you can pick up where you left off. ( * The scripts could be written to pass values to a local file to be stored, but its best to pass the values to a transactional database such as MySQL to avoid data corruption with multiple users connected to the same interface. )

You will need to know more than just HTML to pull this off... I suggest PHP or Perl as a language to use with this which would CREATE dynamic web pages and allow for passing the data to a database such as MySQL which is free. Apache is also free and I have used that before for private web servers and testing server side scripts locally.

If you havent already already gotten this.... WAMP is a useful tool that is free that works great for coding and testing your code, but never used WAMP to host your website online as for its a gaping hole with SECURITY settings.

http://www.wampserver.com/en/


Discussion

No Comment Found