file_get_contentsでステータスコードを取得
使い勝手がよいfile_get_contentsでステータスコードを取得する簡単な方法
$html = file_get_contents('https://www.google.co.jp/'); //これにステータスコードが入ってくる $http_response_header[0]
使い勝手がよいfile_get_contentsでステータスコードを取得する簡単な方法
$html = file_get_contents('https://www.google.co.jp/'); //これにステータスコードが入ってくる $http_response_header[0]