I'm trying to put a login system where anyone accessing your login will have access to a different page. I am using php and mysql, but I am very new to the subject. I wanted the system to work like this:
login: lucas password: lucas
The person would be referred to a specific page
login: daniel password: daniel
Person would be routed to another page
Well, I must have left the question a bit unpleasant and that's why I came here to complete it:
I tried to create a system of registration and a login, where the login will send you to a page that in this case will be "www.site.com.br/usuario"
the status codes in the folder below: