lovelyvik293 Posted February 23, 2010 Share Posted February 23, 2010 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 More sharing options...
jl5501 Posted February 23, 2010 Share Posted February 23, 2010 SSL is nothing to do with PHP, so you code your form in the normal way with normal input validation. There is no difference to the PHP code for SSL or non SSL Link to comment https://forums.phpfreaks.com/topic/193110-php-ssl-login/#findComment-1016960 Share on other sites More sharing options...
lovelyvik293 Posted February 23, 2010 Author Share Posted February 23, 2010 but then how the php page will now about ssl? Link to comment https://forums.phpfreaks.com/topic/193110-php-ssl-login/#findComment-1016965 Share on other sites More sharing options...
ialsoagree Posted February 23, 2010 Share Posted February 23, 2010 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.