I’m new to web programming. I’ve created a simple login form (with php). Now I want to turn this one into a HTTPS (with SSL) login form. What should I do to achieve this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You will need to enable SSL, if it is not already enabled
If you are going to run this in production, you will also need to purchase and
install an SSL cert instead of a self-signed cert.
If SSL is enabled, then running your form with https instead of http as the comment above says will work
To force users to use the SSL version add something like the following to your .htaccess file