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

[Function] $http_response_header

페이지 정보

작성자 MintState 댓글 0건 조회 16,715회 작성일 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 18314 11-03
139 MintState 18290 11-03
138 MintState 17962 10-31
137 MintState 17953 10-29
136 MintState 17512 01-22
135 MintState 17423 05-02
134 MintState 17307 11-17
133 MintState 17133 11-10
132 MintState 17044 11-17
131 MintState 17005 11-03
130 MintState 16984 01-18
열람중 MintState 16716 02-25
128 MintState 16577 10-09
127 MintState 16457 06-30
126 MintState 16446 10-29
125 MintState 16445 02-17
124 MintState 16271 03-04
123 MintState 16224 11-10
122 MintState 16198 11-10
121 MintState 16188 11-03
120 MintState 16165 04-06
119 MintState 16115 02-23
118 MintState 16040 02-12
117 MintState 15933 10-28
116 MintState 15863 11-10
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2024, YesYo.com MintState. ™