Major PHP/MySQL Login Project, with session variables

前端 未结 2 1166
时光取名叫无心
时光取名叫无心 2021-01-28 03:16

Alright, so for the past two days, I\'ve been scouring the internet and trying my best to put together a rather sophisticated login system. I\'ve got the core of it working, use

相关标签:
2条回答
  • 2021-01-28 03:21

    Just one thing I noticed right away, but might not completely solve the problem:

    echo $_SESSION['user']
    

    should be

    echo $_SESSION['myusername']
    
    0 讨论(0)
  • 2021-01-28 03:25

    In your members page change your session name to match your login procesing page. You have "myuserame" and then "user".

    0 讨论(0)
提交回复
热议问题