Skip to content

[halp]website login panel

Featured Replies

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.

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.