{"id":67,"date":"2016-03-10T12:46:56","date_gmt":"2016-03-10T03:46:56","guid":{"rendered":"http:\/\/sarang.inmu.net\/?p=67"},"modified":"2016-03-10T12:47:38","modified_gmt":"2016-03-10T03:47:38","slug":"jquery-%ed%8f%bc%ec%b2%b4%ed%81%ac-%ec%98%88%ec%a0%9c","status":"publish","type":"post","link":"https:\/\/sarang.inmu.net\/?p=67","title":{"rendered":"jquery \ud3fc\uccb4\ud06c \uc608\uc81c"},"content":{"rendered":"","protected":true},"excerpt":{"rendered":"","protected":true},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[5],"tags":[26,25],"class_list":["post-67","post","type-post","status-publish","format-standard","post-password-required","hentry","category-5","tag-jquery","tag-25"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":585,"url":"https:\/\/sarang.inmu.net\/?p=585","url_meta":{"origin":67,"position":0},"title":"\ud3fc\uc5d0\uc11c input file \ub514\uc790\uc778\ud558\uae30","author":"sarang","date":"2016\ub144 07\uc6d4 24\uc77c","format":false,"excerpt":"\ud3fc\uc744 \ub514\uc790\uc778\ud558\uba74\uc11c input type=file \uc77c\ub54c \ub514\uc790\uc778\ud558\ub294 \ubc29\ubc95\uc774\ub2e4. jquery\ub97c \uc0ac\uc6a9\ud55c\ub2e4. \uc608\uc81c1) HTML \ucf54\ub4dc <input type=\"file\" name=\"client_file\" id=\"index_image\" placeholder=\"\uc774 \uacf3\uc5d0 \uc774\ubbf8\uc9c0 \ud30c\uc77c\uc744 \uc785\ub825\ud558\uc138\uc694\" \/> <label for=\"index_image\">\uc774 \uacf3\uc5d0\uc11c \uc774\ubbf8\uc9c0 \ud30c\uc77c\uc744 \uc120\ud0dd\ud558\uc138\uc694.<\/label> CSS \ucf54\ub4dc label { display: inline-block; width: 5em; padding: 0 1em; text-align: right; } \/* Hide the file input using opacity \/\u2026","rel":"","context":"&quot;\ucef4\ud4e8\ud130&quot;\uc5d0\uc11c","block_context":{"text":"\ucef4\ud4e8\ud130","link":"https:\/\/sarang.inmu.net\/?cat=5"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":584,"url":"https:\/\/sarang.inmu.net\/?p=584","url_meta":{"origin":67,"position":1},"title":"php\ub85c \uac04\ub2e8\ud558\uac8c \ub514\ub809\ud1a0\ub9ac\uc640 \ud30c\uc77c \ub2e4\ub8e8\uae30","author":"sarang","date":"2016\ub144 11\uc6d4 21\uc77c","format":false,"excerpt":"<?php if($handle = opendir('.')){ $i = 0; while(false !==($entry = readdir($handle))){ if($entry != '.' && $entry != '..' && $entry != 'this_file.php'){ $i ++; $tno = explode(\".\",$entry); $no = $tno[0]; $html = \"\uc5ec\uae30\uc5d0 \ud30c\uc77c\uc758 \ub0b4\uc6a9\uc744 \ub123\ub294\ub2e4. \ud30c\uc77c\uc758 \uc774\ub984\uc774 \ud544\uc694\ud558\ub2e4\uba74 $no \ubc30\uc5f4\uc744 \uc0ac\uc6a9\ud558\uc790.\"; $fp=fopen($entry, \"w+\"); fputs($fp,$html); fclose($fp); } } } \u00a0","rel":"","context":"&quot;\ucef4\ud4e8\ud130&quot;\uc5d0\uc11c","block_context":{"text":"\ucef4\ud4e8\ud130","link":"https:\/\/sarang.inmu.net\/?cat=5"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":658,"url":"https:\/\/sarang.inmu.net\/?p=658","url_meta":{"origin":67,"position":2},"title":"php \ucd08\ub2e8\uc704\ub85c \uc811\uadfc \ub9c9\uae30","author":"sarang","date":"2016\ub144 10\uc6d4 20\uc77c","format":false,"excerpt":"\uc6f9\uc5d0\uc11c \ud3fc\uc744 \ub118\uae38 \ub54c \uac00\ub054 \ub354\ube14\ud074\ub9ad\uc744 \ud558\uac70\ub098 \uc544\ub2c8\uba74 \uc11c\ubc84\uc5d0\uc11c \uc9c0\uc5f0\uc774 \uc0dd\uae30\uac70\ub098 \uc544\ub2c8\uba74 \uc545\uc758\uc801\uc778 \uacf5\uaca9\uc744 \ubc1b\uace0 \uc788\uac70\ub098 \ud560 \ub54c, \uc5d4\uc158\uc744 \ucd08\ub2e8\uc704\ub85c \ub9c9\ub294 \uc5ec\ub7ec \uac00\uc9c0 \ubc29\ubc95\uc774 \uc788\ub2e4. \uc608\ub97c \ub4e4\uc5b4 index.php \uc5d0\uc11c act.php \ub85c \ub85c\uadf8\uc778 \uc815\ubcf4\ub97c \ub118\uae38 \ub54c\ub97c \uac00\uc815\ud558\uc790. \uc544\uc774\ub514\uc640 \ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud558\uace0 \ubc84\ud2bc\uc744 \ub204\ub978\ub2e4. act.php \ub85c \uc811\uadfc\ud558\uc5ec \uacb0\uacfc\ub97c \ub3cc\ub824 \uc8fc\ub294\ub370 3\ucd08\uac00 \uc9c0\ub098\uc57c \uc11c\ubc84\u2026","rel":"","context":"&quot;\ucef4\ud4e8\ud130&quot;\uc5d0\uc11c","block_context":{"text":"\ucef4\ud4e8\ud130","link":"https:\/\/sarang.inmu.net\/?cat=5"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":890,"url":"https:\/\/sarang.inmu.net\/?p=890","url_meta":{"origin":67,"position":3},"title":"git \uc124\uc815 \uba87 \uac00\uc9c0","author":"sarang","date":"2017\ub144 11\uc6d4 09\uc77c","format":false,"excerpt":"\ub098\uc758 \uc774\ub984 \uc124\uc815 git config --global user.name \"myNameIsLove\" \ub098\uc758 \uc774\uba54\uc77c \uc8fc\uc18c \uc124\uc815 git config --global user.email \"sarang@inmu.net\" \ucd9c\ub825 \uce7c\ub77c \uc790\ub3d9\uc73c\ub85c git config --global color.ui \"auto\" \ucee4\ubbf8\ud2b8 git add myFile.php git commit -m \"\uc5ec\uae30\ub294 \ub098\uc758 \uccab\ubc88\uc9f8 \uba54\uc2dc\uc9c0\" -m \"\uc5ec\uae30\ub294 \ub098\uc758 \ub450\ubc88\uc9f8 \uba54\uc2dc\uc9c0\" \uae43\uc740 -m \uc635\uc158 \ud558\ub098\ub2f9 \ud55c\uac1c\uc758 \ubb38\ub2e8\uc73c\ub85c \uac04\uc8fc \ub85c\uadf8\ubcf4\uae30 git\u2026","rel":"","context":"&quot;\ucef4\ud4e8\ud130&quot;\uc5d0\uc11c","block_context":{"text":"\ucef4\ud4e8\ud130","link":"https:\/\/sarang.inmu.net\/?cat=5"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":25,"url":"https:\/\/sarang.inmu.net\/?p=25","url_meta":{"origin":67,"position":4},"title":"\uac04\ub2e8\ud301 \ubaa8\uc74c","author":"sarang","date":"2016\ub144 01\uc6d4 30\uc77c","format":false,"excerpt":"\ud30c\uc77c \uac2f\uc218\uac00 \ub9ce\uc544\uc11c \uc9c0\uc6cc\uc9c0\uc9c0 \uc54a\uc744 \ub54c find . -name '*' -exec rm -f {}\\; \u00a0 utf-8\ub85c \uba54\uc77c \ubcf4\ub0b4\uae30 \uc608\uc81c $from_name=\"=?utf-8?B?\".base64_encode('\uba54\uc77c \uc81c\ubaa9').\"?=\"; $header=\"FROM: \".$from_name.\"\\nReturn-Path:sarang@inmu.net\\nX-Sender:sarang@inmu.net\\n'Content-Type: text\/html;charset=utf-8'\\n\"; $mail_subject='=?utf-8?B?'.base64_encode('\uba54\uc77c\uc81c\ubaa9').'?='; mail('\ubc1b\ub294\uc774\uba54\uc77c\uc8fc\uc18c',$mail_subject,'\uba54\uc77c \ubcf8\ubb38',$header); \u00a0 FTP \ub9c1\ud06c \ub9cc\ub4e4\uae30 ftp:\/\/myid:mypassword@sarang.inmu.net:21\/mydir\/myfile \uc704\uc758 \ub9c1\ud06c\ub294 21\ubc88 \ud3ec\ud2b8\ub85c FTP\uc11c\ubc84\uc5d0 \uc811\uc18d\ud558\uc5ec mydir\ud3f4\ub354\uc5d0\uc11c myfile\uc744 \ub2e4\uc6b4 \ubc1b\ub294 \ub9c1\ud06c\ub97c \ub9cc\ub4e0\ub2e4. a \ud0dc\uadf8\uc5d0 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4. \uc774\ud074\ub9bd\uc2a4\u2026","rel":"","context":"&quot;\ucef4\ud4e8\ud130&quot;\uc5d0\uc11c","block_context":{"text":"\ucef4\ud4e8\ud130","link":"https:\/\/sarang.inmu.net\/?cat=5"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":902,"url":"https:\/\/sarang.inmu.net\/?p=902","url_meta":{"origin":67,"position":5},"title":"ajax\ub97c \uc0ac\uc6a9\ud574\uc11c \uc11c\ubc84\uc758 \uc2dc\uac04\uc744 \ubcf4\uc5ec \uc8fc\uae30","author":"sarang","date":"2017\ub144 12\uc6d4 16\uc77c","format":false,"excerpt":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc5d0\uc11c setInterval() \uc744 \uc774\uc6a9\ud558\uba74 \uc9c0\uc815\ud55c \ubc00\ub9ac\uc138\ucee8\ub4dc \ub2e8\uc704\ub85c \ubb34\uc5b8\uac00\ub97c \uc2e4\ud589\ud560 \uc218 \uc788\ub2e4. \uc774 \ud568\uc218\uc5d0 ajax\ub97c \ub123\uc5b4\uc11c 1\ucd08\uc5d0 \ud55c\ubc88 \uc529 \uc2e4\ud589\ub418\uac8c \ud55c\ub2e4\uba74 \uc11c\ubc84\uc758 \uc2dc\uac04\uc744 \ube0c\ub77c\uc6b0\uc800\ub85c \ubcf4\ub0bc \uc218 \uc788\ub2e4. \uc11c\ubc84\uc5d0\uc11c \ud560 \uc77c\uc740 php\uc758 date()\ud568\uc218\uc640 time() \ud568\uc218\ub97c \uc774\uc6a9\ud574\uc11c \uc2e4\uc2dc\uac04\uc744 echo\ud558\uba74 \ub41c\ub2e4. \uc774 \uc608\uc81c\uc5d0\uc11c\ub294 util.php?mode=nowTime \ub9c1\ud06c\uc5d0\uc11c \uad6c\ud604\ud558\uc600\ub2e4. util.php \uc758 \ucf54\ub4dc \ub0b4\uc6a9\uc740 \uc544\ub798\uc640 \uac19\ub2e4. <?php $mode\u2026","rel":"","context":"&quot;\ucef4\ud4e8\ud130&quot;\uc5d0\uc11c","block_context":{"text":"\ucef4\ud4e8\ud130","link":"https:\/\/sarang.inmu.net\/?cat=5"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/p7qW60-15","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/sarang.inmu.net\/index.php?rest_route=\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sarang.inmu.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sarang.inmu.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sarang.inmu.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sarang.inmu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=67"}],"version-history":[{"count":3,"href":"https:\/\/sarang.inmu.net\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":115,"href":"https:\/\/sarang.inmu.net\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions\/115"}],"wp:attachment":[{"href":"https:\/\/sarang.inmu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sarang.inmu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sarang.inmu.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}