<?php $url = "http://www.yahoo.co.jp/"; $ch = curl_init(); // ã¯ãã //ãªãã·ã§ã³ curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $info = curl_getinfo($ch);//ãã®é¢æ°ã§åå¾ curl_close($ch); //çµäº var_dump($info); >> array(22) { ["url"]=> string(23) "http://www.yahoo.co.jp/" ["content_type"]=> NULL ["http_code"]=> int(0) ["header_size"]=> int(0) ["request_size"]=> int(0) ["file
{{#tags}}- {{label}}
{{/tags}}