Code: Select all
if ( isset ( $_SERVER['HTTPS'] ) != 'on' ) {
$g_header="https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URL'];
header( "Location: " . $g_header );
}
Moderators: Developer, Contributor
Code: Select all
if ( isset ( $_SERVER['HTTPS'] ) != 'on' ) {
$g_header="https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URL'];
header( "Location: " . $g_header );
}
Code: Select all
$t_protocol = 'https';
$t_port = ':443';
$t_path = '/bug';
$g_path = $t_protocol . '://' . $t_host . $t_path.'/';
$g_short_path = '/bug/';