0
Lubo - PHP言語が得意です
https 判定サンプルコード
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on')
{
//'https'
} else if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
//'https'
} else {
// 'http'
}