Login Form using Web Builder?

User 2614236 Photo


Registered User
141 posts

I would like to make a login form that submits and email address and password. A PHP script then takes the email and password using $post on those named fields and checks the email and password exist in a mySQL database already created with the emails password etc in them. Is this possible?
When I look at all the files that are produced with this it seems so cumbersome to say the least and confusing as to what is going on. I note there is an html form produced that has those variables but not sure what else you need. Simply all i want is the form the way it looks without all the excess baggage that goes with it as I have my own script. Is this possible? Or as I suspect would it be easier to create my own form?
Tony
User 187934 Photo


Senior Advisor
19,941 posts

If you have your own script then you must have an existing login form. Use the form builder to create a great looking login and then incorporate the existing script into the form.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2614236 Photo


Registered User
141 posts

Eric Rohloff wrote:
If you have your own script then you must have an existing login form. Use the form builder to create a great looking login and then incorporate the existing script into the form.



Yes I have an existing log in form and script. However the builder lets me add a nice logo etc so I'm happy to use Web builder. I am getting a bit hung up with all the code that comes with the form. What bits to use and how this will affect what i do. I see the two variable I'm looking for in the html document. But boy the rest of the code is daunting
Tony
User 187934 Photo


Senior Advisor
19,941 posts

The only code you will want to use is the code in and including the <form></form> tags on the formname.html.
You never want to rely on javascript validation on a login form.
Then you need the css files.
<link rel="stylesheet" type="text/css" href="theme/default/css/default.css"
id="theme" />
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2614236 Photo


Registered User
141 posts

Thanks Eric. Will give it a go. If I get lost it is due to inexperience as well as stupidity!
Tony
User 2791023 Photo


Registered User
9 posts

Tony I want to do something like this. Can you share what you ended up doing?

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.