[ php ] 다음 주소 연결 https 여부 확인 - ( 다음 지도 연결시 오류 부분 )
작성자 웹지기
작성일 19-02-08 14:57
조회 9,529
댓글 0
본문
<?php if($_SERVER['HTTPS'] == 'on') { ?>
<script type="text/javascript" src="https://ssl.daumcdn.net/dmaps/map_js_init/postcode.v2.js"></script>
<?php } else { ?>
<script type="text/javascript" src="http://dmaps.daum.net/map_js_init/postcode.v2.js"></script>
<?php } ?>
댓글목록 0
등록된 댓글이 없습니다.
