安超2022-11-07 14:33:45
<?php
$url = "https://www.jacgoo.com";
$arr = file($url);print_r($arr);
$ch = 컬_init();
컬_setopt($ch,CURLOPT_URL,$url);
$html - 컬_exec($ch);
if(curl_errno($ch)){
echo 'Errno'.curl_error($curl);}
curl_close ($ch);
print_r($html);?>
제 서버가 아파치인데 따로 설정해야 하나요?