|
Last updated: 02/08/2012
Sometimes you need to make sure your script is running on SSL, for security purposes. Here's a short function you can call to do that check:
function check_ssl() { if($_SERVER['SERVER_PORT'] == 443) { return(true); } else { return(false); } }
blog comments powered by
|