YesYo.com MintState Forums
뒤로    Go3.co.kr MintState BBS > Tech > PHP
검색
멤버이름    오토
비밀번호 
 

[Function] $http_response_header

페이지 정보

작성자 MintState 댓글 0건 조회 17,139회 작성일 09-02-25 11:34

본문

[Function] $http_response_header

The $http_response_header array is similar to the get_headers() function. When using the HTTP wrapper, $http_response_header will be populated with the HTTP response headers.

PHP5 에서 get_headers()와 비슷한 기능합니다. 주어진 URL에서 header 를 배열로 반환 합니다.
PHP4 에서 get_headers()를 대신 해서 쓸 수 있습니다.

예)
<?php
file_get_contents("http://google.co.kr"); 
var_dump($http_response_header);
?>


출력 :



예)
<?php
file_get_contents("http://img0.gmodules.com/ig/f/oKstlUEg20s/intl/ALL_kr/logo.gif"); 
var_dump($http_response_header); 
?>


출력 :

댓글목록

등록된 댓글이 없습니다.

Total 165건 2 페이지
PHP 목록
번호 제목 글쓴이 조회 날짜
140 MintState 18874 07-02
139 MintState 16856 06-30
138 MintState 23015 04-28
137 MintState 16456 02-12
136 MintState 29213 01-13
135 MintState 16979 10-09
134 MintState 18740 08-25
133 MintState 15790 07-28
132 MintState 19176 04-28
131 MintState 24133 04-09
130 MintState 16607 04-06
129 MintState 13934 02-25
열람중 MintState 17140 02-25
127 MintState 12861 02-23
126 MintState 12083 02-23
125 MintState 16535 02-23
124 MintState 16884 02-17
123 MintState 15866 02-17
122 MintState 17463 11-17
121 MintState 22845 11-17
120 MintState 12703 11-17
119 MintState 17723 11-17
118 MintState 14329 11-17
117 MintState 16786 11-10
116 MintState 14967 11-10
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2025, Go3.co.kr MintState. ™