-1
Well, let’s see if you can help me! I’m trying to make a basic login system, but I have a problem, I’m still beginner in php and I don’t know much.
I’m trying to make this form work properly.
<input name="dominio" type="text" placeholder="dominio.com" autocomplete="off" style="background-color:#cce0ff;color:#00f;" />
<br><br>
<input name="email" type="text" placeholder="[email protected]" autocomplete="off" style="background-color:#cce0ff;color:#00f;" />
<br><br>
<input name="senha" type="password" placeholder="**********" autocomplete="off" style="background-color:#cce0ff;color:#00f;" />
<br><br>
<input type="submit" name="Submit" id="Submit" value="Login" class="form-control element_style_9 event-submit-btn" onclick="submitClicked();return false;" />
will be who could help me better?
Could you put your PHP code in the question? So we could see what your login logic looks like?
– João Pedro Schmitz
I haven’t done it in PHP only in HTML even, because as the login system will be only for some people I wanted to use it already without using the database.
– Francklyn Souza
So, there is no way to make a login system without using a database. If you want to make one, you will need to use a database.
– João Pedro Schmitz
So thank you even John for being able to help me better, because I can do this in JS but I don’t think it’s safe.
– Francklyn Souza
No doubt it is not safe, as anyone can see its logic with JS, and therefore it is not even taken into account as login system.
– João Pedro Schmitz
Can John switch from JS to PHP by making some modifications?? Because I’m not very good at both, but I’m learning little by little.
– Francklyn Souza
It depends on what you have done with Javascript.
– João Pedro Schmitz
I was thinking of creating one in php, but in that sense I only learned how to send input files to the server. I even changed the form to get better, but the other problem is quite simple, I have everything done more it does not log in because it gives error
– Francklyn Souza
I think there’s something missing or there’s a lot of things wrong, I hope to fix it soon, if you want to take a look it would be that you could contact me via my email [email protected] so you would help me in the other and this would end and put a solution in this post through the help of the other.
– Francklyn Souza
Dude, I can’t help you directly, but take a look at this link, maybe I can help.
– João Pedro Schmitz
OK John thanks anyway for everything
– Francklyn Souza