Ask coding questions

← Back to all posts

Does anyone know a simple and easy way to create a Log In page I´m looking for something basic just so I can present for class

a5rocks (830)

The html should look something like this:

<form action="/login">
  <input type="text" placeholder="username">
  <input type="password" placeholder="password">
  <input type="submit">

which will send a GET request to YOUR_URL/login?username=USERNAME&password=PASSWORD

bossotron13 (72)

Why u no do it your self

RyanH4 (3)

well you have to make login.html and add a required on each input so that it says required and you have to put on the form method="GET"

johnwalsh1020 (0)

You can do same things very easily using PHP and MySQL. you can checkout this registration and login system in PHP and MySQL to quick understanding basic PHP flow.

algore (21)

PHP is the easiest way to do it for a website, you are going to need an SQL database, Web Server, and PHP. here is a simple one I made a while back here is a very nice tutorial.


No, but I can guess that your probably going to be using html. @K1NGBOSS

Masy (35)

@MATTHEWBECHTEL you can use other languages as well


Check your email in a moment. @Masy