PHP代码记录

<?php
	if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
    
    
		$uri = 'https://';
	} else {
    
    
		$uri = 'http://';
	}
	$uri .= $_SERVER['HTTP_HOST'];
	header('Location: '.$uri.'/dashboard/');
	exit;
?>
Something is wrong with the XAMPP installation :-(

猜你喜欢

转载自blog.csdn.net/weixin_40945354/article/details/108142762