Method to include file based on SSL State

<?

if (substr_count($_SERVER["SERVER_PROTOCOL"], "HTTP/") > 0) {

include("file.php");

}

var_dump($_SERVER);

?>