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

[Function] $http_response_header

페이지 정보

작성자 MintState 댓글 0건 조회 16,604회 작성일 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 18344 07-02
139 MintState 16341 06-30
138 MintState 22453 04-28
137 MintState 15911 02-12
136 MintState 28703 01-13
135 MintState 16466 10-09
134 MintState 18198 08-25
133 MintState 15238 07-28
132 MintState 18585 04-28
131 MintState 23540 04-09
130 MintState 16050 04-06
129 MintState 13354 02-25
열람중 MintState 16605 02-25
127 MintState 12346 02-23
126 MintState 11581 02-23
125 MintState 15998 02-23
124 MintState 16330 02-17
123 MintState 15314 02-17
122 MintState 16927 11-17
121 MintState 22247 11-17
120 MintState 12215 11-17
119 MintState 17187 11-17
118 MintState 13789 11-17
117 MintState 16130 11-10
116 MintState 14456 11-10
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2024, YesYo.com MintState. ™