Jump to content

Recommended Posts

Posted

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.

Posted

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)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock