Register option

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Register option

    Hey anyone plz can u tell me that how can i make a login and register option in my website

    #2
    php and mysql

    Comment


      #3
      look at most lava mods, etc, all have login n register...

      Or to break it down in basic example...
      Register form has input for username and password. The form submits, ie: to the all classic register.php which reads the variables and creates entry in users table containing username n password...
      Login... Similar form to register form, except posting to login.php. Login.php reads username n password variables. First select count where username='value' from userstable to ensure user exists, if exists see if password matches... If so, set session, cookies, etc... Else return invalid password if password wrong or username invalid if it doesn't exist...

      Sorry for sloppyness n lack of proper code samples, typing on mobile...
      C3 Themes: http://c3themes.wen.ru/index.html
      Find Files: http://mystarter.tk/?goto=X-search

      Comment

      Working...
      X