목록전체 글 (48)
(❀╹◡╹)
SELECT LEVEL FROM DUAL CONNECT BY LEVEL < 10; [결과값] 1 2 3 4 5 6 7 8 9 시간대별 접속 횟수 구하기 등에 활용
var email_regexp = /^[0-9a-zA-Z]([-_\.]?[0-9a-zA-Z])*@[0-9a-zA-Z]([-_\.]?[0-9a-zA-Z])*\.[a-zA-Z]{2,3}$/i; var nick_regexp = /^[a-zA-Z가-힣]{2,10}$/; // 국문 또는 영문 2자 이상~10자 이하 var pw_regexp = /^(?=.*[a-z])(?=.*[~!@#$%^&*])(?=.*[0-9])[a-z0-9~!@#$%^&*]{9,15}$/; // 영문 소문자, 숫자 또는 특수문자 포함, 9-15자 이내(사용 가능한 특수문자 : ~!@#$%^&*)
IE에서 한글로 시작하는 파일명을 가진 파일을 업로드하기 위한 과정에서 pathinfo 사용 시 한글이 잘리는 현상 확인 상단에 setlocale(LC_ALL,'ko_KR.UTF-8'); 추가하여 해결
$(".sortable").sortable({ helper: fixWidthHelper, }).disableSelection(); function fixWidthHelper(e, ui) { ui.children().each(function() { $(this).width($(this).width()); }); return ui; }
If Request.ServerVariables("HTTPS") = "off" Or Instr(Request.Servervariables("SERVER_NAME"),".com") Then Dim redirect_url redirect_url = "https://" & Request.Servervariables("SERVER_NAME") & Request.ServerVariables("SCRIPT_NAME") redirect_url = Replace(redirect_url, ".com", ".co.kr") If Request.ServerVariables("QUERY_STRING") "" Then redirect_url = redirect_url & "?" & Request.ServerVariables("Q..
[토큰 발급 순서] 단기 토큰 발급 ▶ 장기 토큰 발급 (Short-Lived Access Token - 1시간 / Long-Lived Access Token - 60일) https://developers.facebook.com/docs/instagram-basic-display-api/guides/getting-access-tokens-and-permissions https://developers.facebook.com/docs/instagram-basic-display-api/guides/long-lived-access-tokens * 장기 토큰 기한 만료 이전에 토큰 새로고침 해주는 작업 필요 (Refresh Access Token) // https://developers.facebook.com/d..
$post = array ( 'fields' => 'id,media_type,media_url,permalink,thumbnail_url,username,caption', 'access_token' => '{access_token}', ); $url = 'https://graph.instagram.com/{user_id}/media?'.http_build_query($post); $curl_connection = curl_init($url); curl_setopt($curl_connection, CURLOPT_CONNECTTIMEOUT, 30); curl_setopt($curl_connection, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl_connection..

$api_key = 'api-key'; //my API key $channel_id = 'UC채널아이디'; //my channel ID $max_result = 10; $url = 'https://www.googleapis.com/youtube/v3/search?order=date&part=snippet&channelId='.$channel_id.'&maxResults='.$max_result.'&key='.$api_key; $video_list = json_decode(file_get_contents($url),TRUE); foreach ($video_list['items'] as $item) { if (isset($item['id']['videoId'])) { echo ' '. $item['snipp..