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

[Function] $http_response_header

페이지 정보

작성자 MintState 댓글 0건 조회 16,744회 작성일 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건 6 페이지
PHP 목록
번호 제목 글쓴이 조회 날짜
40 MintState 11711 02-23
39 MintState 12486 02-23
열람중 MintState 16745 02-25
37 MintState 13482 02-25
36 MintState 16200 04-06
35 MintState 23674 04-09
34 MintState 18729 04-28
33 MintState 15393 07-28
32 MintState 18348 08-25
31 MintState 16605 10-09
30 MintState 28821 01-13
29 MintState 16069 02-12
28 MintState 22602 04-28
27 MintState 16479 06-30
26 MintState 18476 07-02
25 MintState 20208 07-02
24 MintState 17012 01-18
23 MintState 16297 03-04
22 MintState 14605 03-14
21 MintState 15388 04-17
20 MintState 14959 04-17
19 MintState 22159 04-18
18 MintState 17453 05-02
17 MintState 13380 10-21
16 MintState 13993 02-10
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2024, YesYo.com MintState. ™