Jump to content

[halp]website login panel


Recommended Posts

how i should code the fields in login panel?

i wanna do them username | password and when you press login it moves you on forum main page and your account its already login in.

Link to comment
Share on other sites

First you gotta select a language which you will use to code the login system.

 

If you haven't picked a language yet, choose PHP.

 

Does your forum communicate with your L2Server database in order a user to log in/register?

 

Please explain better.

 

The way to code it is by adding a form(easiest) using POST method, using 2 input fields(username-password) and a submit button.

You then POST to an another PHP file or in the same file that the form is and you check via PHP & MySQL whether that user exists and if the user exists you then check if the password is the same as the username in the database(you first have to encrypt it vua base64 if i remember correctly, not sure check source code of login logic in your packet)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...