Results 1 to 1 of 1

Thread: Code to Save Webpage?

  1. #1
    Join Date
    Feb 2008
    Posts
    1

    Code to Save Webpage?

    Hello!

    Ok, I'm hoping somebody can suggest something for this. Firstof, let me say that I develop sites in HTML, XHTML and CSS, and often augment my sites with Javascript or PHP as required.

    I'm currently working on an online game, written in pure XHTML and CSS. The game area contains a certain area (in a div-tag) which includes a series of links to other levels, presented as small images.

    Now here's where my skill and knowledge starts running thin...

    As the players complete levels, these links should become null (i.e. the image remains but is no longer a link since that level has been finished).
    If this were a linear game of one level following another, no problem, but I want my players to have the freedom to choose their level and complete them in any order they like. So I need something which, when they get to the end of say Level 3, will update the code on the Level 3 link and render it null.

    That's problem one. Problem two.

    These levels are so designed that gameplay may take days, or even weeks. I want to have some method by which my players can click something which will generate a save password or file or something for them. When they return to the game, they cna punch this password in and the website will rebuild the state of the levels area as it was when they saved.

    I'd prefer not to use cookies, but will if I have to. I also considered linking everything to an SQL database on the server, but prefer not to require any logins or signups; the game should be compeltely open and free.

    Soooo.....any bright ideas?
    Last edited by MordentCarnival; 20 Feb 2008 at 06:04 AM.

Similar Threads

  1. executing php code in a string
    By Littlened in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 13 Jul 2006, 10:48 AM
  2. AHH! Illustrator Save For Web Acting Funny
    By Gdesign in forum Graphic Design
    Replies: 0
    Last Post: 08 Mar 2006, 09:54 AM
  3. Code thats killing me!
    By Air Duster in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 16 Aug 2005, 10:25 AM

Posting Permissions

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