User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 26

Thread: MySQL & PHP Login/Register System

  1. #11
    No Products Registered

    Join Date
    Jul 2006
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    You're going to want to have encyption. A one way encryption such as MD5 (*I think...*) would be the best option for this, ensuring for example a password cannot be intercepted and stolen.

    *realises fundamental flaws and goes off pondering*

  2. #12
    No Products Registered

    Join Date
    Jul 2006
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    You're going to want to have encyption. A one way encryption such as MD5 (*I think...*) would be the best option for this, ensuring for example a password cannot be intercepted and stolen.

    *realises fundamental flaws and goes off pondering*

  3. #13
    No Products Registered

    Join Date
    Jul 2006
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    Yep, use md5. In PHP:

    $pass = md5(trim($pass));

    Before the password is set to the database, use md5. That way, even if the database goes into the wrong hands (dumb DBAs), the password is still encrypted.

  4. #14
    No Products Registered

    Join Date
    Jul 2006
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    Yep, use md5. In PHP:

    $pass = md5(trim($pass));

    Before the password is set to the database, use md5. That way, even if the database goes into the wrong hands (dumb DBAs), the password is still encrypted.

  5. #15
    No Products Registered

    Join Date
    Jun 2006
    Location
    Plymouth, UK
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    I'll look into that, thanks guys.

  6. #16
    No Products Registered

    Join Date
    Jun 2006
    Location
    Plymouth, UK
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    I'll look into that, thanks guys.

  7. #17
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    I think the danger here is actually not how to encrypt the result, to safely add it to the database you're already connected to. Before you can send anything, you must log in to an SQL server, with an username and password, and that's the really dangerous part here, which is why I suggest php <img src="/center/images/graemlins/smile.gif" alt="" />
    Besides, I can't see why php would make it any harder at all - you can send data that the php script can input with $_POST['blah'] or $_GET['blah'], and since php does not HAVE to output html, it can output plain text, you can use that to send data back to the application. I don't believe it should be much harder than connectiong to an sql server.

  8. #18
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    I think the danger here is actually not how to encrypt the result, to safely add it to the database you're already connected to. Before you can send anything, you must log in to an SQL server, with an username and password, and that's the really dangerous part here, which is why I suggest php <img src="/center/images/graemlins/smile.gif" alt="" />
    Besides, I can't see why php would make it any harder at all - you can send data that the php script can input with $_POST['blah'] or $_GET['blah'], and since php does not HAVE to output html, it can output plain text, you can use that to send data back to the application. I don't believe it should be much harder than connectiong to an sql server.

  9. #19
    No Products Registered

    Join Date
    Jun 2006
    Location
    Plymouth, UK
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    I don't think ease is really the problem, merely convenience. Having to talk to a PHP page, which in turn talks to a database isn't the most efficient route in terms of both coding and at runtime (I would imagine).

  10. #20
    No Products Registered

    Join Date
    Jun 2006
    Location
    Plymouth, UK
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MySQL & PHP Login/Register System

    I don't think ease is really the problem, merely convenience. Having to talk to a PHP page, which in turn talks to a database isn't the most efficient route in terms of both coding and at runtime (I would imagine).

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. Help - Register/Login Application
    By MrXkill in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 6th February 2011, 04:39 AM
  2. MMF2 - Moo ServerSide Register/Login System V.2.0
    By Cocodrilo in forum File Archive
    Replies: 74
    Last Post: 23rd September 2007, 09:09 AM
  3. MMORPG - uddate + ftp + register and login system
    By CLUBE in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 18th March 2007, 04:27 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
  •