Need To Secure A Page For My Users On SQL

Discussion in 'PHP' started by extraspecial, Jun 19, 2011.

  1. #1
    Hello guys,

    I need to secure a page and who visits this page should be forced to log in and it should check from mysql databe users email adresses and passwords if they are correct they should be able to visit...

    For example; my database name is “mydatabase” , user is “myuser” , password is “mypassword” and my users are under “TABLE” table using the “EMAIL” as user and “USER_ID” as password.

    Can someone help me with that?
     
    extraspecial, Jun 19, 2011 IP
  2. trecords

    trecords Well-Known Member

    Messages:
    145
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #2
    Yes i have recently created such script which allows to login through login php page which checks user login details on MySQL which is encrypted with md5. I can help you on this.
     
    trecords, Jun 19, 2011 IP
  3. The Webby

    The Webby Peon

    Messages:
    1,852
    Likes Received:
    30
    Best Answers:
    1
    Trophy Points:
    0
    #3
    I posted a sample solution for similar request few days ago, it will help you..
    Go to: http://forums.digitalpoint.com/showthread.php?t=2201441&p=16348928#post16348928 and learn...
     
    The Webby, Jun 19, 2011 IP
  4. extraspecial

    extraspecial Member

    Messages:
    788
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    45
    #4
    That would be great, if you can help me...

     
    extraspecial, Jun 19, 2011 IP
  5. bobbydeo

    bobbydeo Peon

    Messages:
    65
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    let us know what help would you require
     
    bobbydeo, Jun 25, 2011 IP
  6. exodus

    exodus Well-Known Member

    Messages:
    1,900
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    165
    #6
    Show us the work you have done and we can make edits to that work. We are not really here to do all of it for you. Unless you want to pay us. :) We are here to help a little not do it for you.

    The Webby has a great link that he shared with you that will do more then you have done for yourself. You really should check it out.
     
    exodus, Jun 26, 2011 IP
  7. extraspecial

    extraspecial Member

    Messages:
    788
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    45
    #7
    Exodus why are you writing? when you are not really here to help me :) maybe I don't have time for the research...
     
    extraspecial, Jun 28, 2011 IP
  8. exodus

    exodus Well-Known Member

    Messages:
    1,900
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    165