-3
I’m trying to put a login system, where whoever accesses your login will have access to a different page. I am using php and mysql, but I am very beginner in the subject. I wanted the system to work like this:
login: password:
The person would be referred to a specific page
login:daniel password:daniel
The person would be forwarded to another page
Well, I must have left the question somewhat incoplete and so I came here to complete it:
I tried to create a registration system and a login, where the login he will forward you to a page that in case will be "www.site.com.br/user"
the codes in the folder below:
What have you tried? Add the code to the question by clicking [Edit]
– user28595
Voce can add one more column in your database containing the page to which the user will be directed. So, after validating the Voce user you would use the header("Location: xxxxx") function to direct the user to the corresponding page
– Sullyvan Nunes