Ask coding questions

← Back to all posts
How to make a register/login
JordanDixon1 (178)

Is there a way to make a register/login page in I want to know if there is a way to do this in without a database (or with if supports this.) that would be great.

In specific what I'm trying to do is:
make a page for registering that when completed the username is set and password is set and a new html page is created with the default look that the user can customize later on with posts, editing their info, etc. In conclusion, I'm trying to make a social media site.

Geocube101 (628)

I don't think this is possible without a framework (server)

ike_fite (12)

What you could do is take the textboxes and compare them to a variable in your code but this is very insecure and only works with a certain amount of "username":"password" pairs. In other words don't do what I just said.

JordanDixon1 (178)

I figured out how to do it. You can use MySQL by using I have seen it been used in one of the moderator's's. It can be found here:

AlexanderBirabe (102)

There is a way to do it with google sheets as your server. It's not a perfect solution but a repl can remotely connect to and edit/read a google sheet.

AllAwesome497 (399)

As far as i know, the answer is no.