CURL
$data = array('type1'=>'test1', 'type2'=>'test2'); $data = http_build_query($data, '', '&'); $url = "http://test.com/test.php"; $agent = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)'; $ch = curl_init(); //curl 초기화 curl_setopt($ch, CURLOPT_URL, $url); //URL 지정하기 curl_setopt($ch[$i], CURLOPT_USERAGENT, $agent); curl_setopt($ch[$i], CURLOPT_TIMEOUT,..
2022.05.19