1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Development Strings!

Discussion in 'Software' started by Headspark, 17 Feb 2006.

  1. Headspark

    Headspark Minimodder

    Joined:
    23 Feb 2005
    Posts:
    403
    Likes Received:
    2
    http://www.29er.org.uk/project/year12/

    currently you input a name and it sticks it in the URL.

    is there any way i could convert these strings into numbers/hashes and then convert them back from the hash/string in the URL.

    Is there a way i could check for alterations, prehaps by making the value of all the characters in the hash = a number?

    or..

    Could i prehaps use sessions here?? I have no experience of using sessions.

    Some advice please!
     
  2. Evilbob

    Evilbob What's a Dremel?

    Joined:
    28 Apr 2001
    Posts:
    550
    Likes Received:
    0
    You could use post instead of get as the form method... and then use $_POST['varname'] as this doesn't pass them in the urls but it isn't that effective as anyone can just view the source and see how you are passing the variables. If you were data stored as md5/sha-1 hashes you could use these scripts: http://pajhome.org.uk/crypt/md5/ and a little bit of javascript to convert them before passing them.
     
  3. Headspark

    Headspark Minimodder

    Joined:
    23 Feb 2005
    Posts:
    403
    Likes Received:
    2
    The thing is, it doesnt have to be secure, its just i want to make it harder for the user to cheat the system, a simple string to ascii converter would prehaps do. Looking on PHP.net, i cant quite find what im looking for!
     

Share This Page