php1 한글 맞춤법 검사기 네이버에 보면 맞춤법 검사기라고 있습니다. 여기 페이지를 파싱해서 맞춤법 검사를 하는 함수로 만들어 보았어요. if(!function_exists('wordCheck')){ function word_check($word){ $word_encode = urlencode($word); $url = "https://m.search.naver.com/p/csearch/ocontent/util/SpellerProxy?q={$word_encode}&color_blindness=0"; $result = file_get_contents($url); $result_decode = json_decode($result,true); return $result_decode['message']['result']['notag_ht.. 2020. 7. 2. 이전 1 다음