if($_SERVER['HTTPS'] != "on"){
header("Location: https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
}
'개발 > php' 카테고리의 다른 글
failed to open stream: Permission denied (0) | 2021.01.19 |
---|---|
php 배열 날짜별로 sort 정렬 (0) | 2021.01.19 |
php curl 새창 읽기 get 방식, post 방식 데이터 넘기기 예제 (0) | 2021.01.19 |
php 카카오 로그인 예제 (0) | 2021.01.19 |
php array_pop()이란 예제 (0) | 2021.01.19 |
댓글