Register script beta

Discussion in 'Programming' started by Seraskier, Jan 9, 2009.

  1. #1
    Hey guys,

    I just think I finished up a web2.0 register script.

    It uses xmlHttp throughout the whole page.

    http://75.181.72.104/revonal/register.php

    If you can mess around and see if you can break it, hack it, etc etc that would be great!
    Maybe even take a screenshot so I can make sure that it looks how its subpossed to.

    I tested in FF, IE6 & 7. Near pixel perfect.

    Also any suggestions, comments would be great as well, good or bad!

    It works 100%!

    Jordan
     
    Seraskier, Jan 9, 2009 IP
  2. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #2
    You should check for a valid email by pinging the domain name
    There are a lot of examples on the net
    Currently I think you're only checking if valid with a regex

    I typed which it's inexistent and said me

    "Thank you for registering!

    We have sent you an email containing your password."

    cheers
     
    crivion, Jan 10, 2009 IP
  3. Seraskier

    Seraskier Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    !/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(email)
    ^^what I used....

    Whats the point? Can you retrieve your password without access to the email?
    I eliminated clicking the link to activate your account, and instead generated a password for them and just email them their password...less work.

    As for everything else, does it seem to work for you? Render correctly?
    How does it look?

    Jordan
     
    Seraskier, Jan 10, 2009 IP
  4. harrisunderwork

    harrisunderwork Well-Known Member

    Messages:
    1,005
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    135
    #4
    @Seraskie - I agree with your point. Checking MX records for valid entry of email is not at all good idea, why should I use my server resource to check it. If user's email is valid and he has to login ( which I am sure he will ) , he will provide valid email id. :)
     
    harrisunderwork, Jan 10, 2009 IP
  5. Seraskier

    Seraskier Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I made some changes.

    I added a bit more security. Now in case of anything that could possibly break, does break, the script will notice it and display an error to the page...stopping everything.

    I also reduced the 'boldness' of the page, which IMO looks better.

    Let me know what you think.

    Jordan
     
    Seraskier, Jan 10, 2009 IP
  6. Seraskier

    Seraskier Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    http://75.181.72.104/revonal/login.php

    I just almost finished up the login, the script will actually log you in, but the forgot username and password isnt done yet.

    Something else to try.
     
    Seraskier, Jan 10, 2009 IP
  7. Seraskier

    Seraskier Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0