Contact: aviboots(AT)netvision.net.il
41,229 questions
53,731 answers
573 users
$http_header = 'http://'; if (!empty($_SERVER['HTTPS'])) $http_header = 'https://'; echo $http_header; /* run: http:// */
$http_header = 'http://'; if ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT']==443) $http_header = 'https://'; echo $http_header; /* run: http:// */