Tag Archives: ssl

Force SSL connection using PHP

When place before all other output on your PHP script this little snipped will force you PHP page to be presented over SSLThis is very useful on things like Login forms.   if($_SERVER[‘SERVER_PORT’] != ‘443’) {     //Force SSL upon … Continue reading

Posted in howto, php | Tagged , , | Leave a comment