Jump to content

php ssl login


lovelyvik293

Recommended Posts

Hi phpfreaks,

Write now m working on a project which is related to creation of a social networking website.

For the sake of security i want to use the https(ssl) security at login module.

I searched for the how to of ssl and i got to know that i have to follow these points:-

1.Receive an SSL certificate. You can purchase one from a trusted company such as VeriSign, or generate your own with OpenSSL.

2.Apply the SSL certificate to your web server. If using Apache, you will need to enable the mod_ssl extension, and provide the location of the certificate. If using IIS, you will need to follow the wizards.

3.Confirm port 443 is open in any firewalls

4.Code the page login page in page.

 

So now i done the part one and created the ssl certificate through openssl and then configured the apache server as written in the point 2 and i also know that port number 443 is also open.

But i am still in dark about the point 4-the coding part,so can any of please tell me how to do that.

If there is a link you have related to it,please give me the url.

thanks.

Link to comment
https://forums.phpfreaks.com/topic/193110-php-ssl-login/
Share on other sites

but then how the php page will now about ssl?

 

The SSL is handled by the web server. PHP is just a parser that handles PHP code, it doesn't handle transmitting or receiving the information from the user. SSL is a protocol to encrypt/decrypt transmissions between the end user and the web server, that's handled strictly by the web server software.

Link to comment
https://forums.phpfreaks.com/topic/193110-php-ssl-login/#findComment-1016966
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.