PHP CURL 로 Json 호출
//Curl 연결 함수 function Curl($url, $post_data, &$header = null) { $ch=curl_init(); // user credencial curl_setopt($ch, CURLOPT_USERPWD, "username:passwd"); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_URL, $url); // post_data curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); if (!i..