Forum und email

http_send_last_modified

(PECL pecl_http:0.1.0-1.5.5)

http_send_last_modified โ€” Send Last-Modified

์„ค๋ช…

bool http_send_last_modified ([ int $timestamp ] )

Send a Last-Modified header with a valid HTTP date.

Note: ์ด ํ•จ์ˆ˜๋Š” ๋‹ค์Œ ํ•จ์ˆ˜์™€ ํ•จ๊ป˜ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค: http_send_data(), http_seld_file() ๊ทธ๋ฆฌ๊ณ  http_send_stream().

๋งค๊ฐœ๋ณ€์ˆ˜

timestamp

a Unix timestamp, converted to a valid HTTP date; if omitted, the current time will be sent

๋ฐ˜ํ™˜๊ฐ’

์„ฑ๊ณตํ•  ๊ฒฝ์šฐ TRUE๋ฅผ, ์‹คํŒจํ•  ๊ฒฝ์šฐ FALSE๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

์ฐธ๊ณ 

  • PHP-5.1 ์ด์ƒ์„ ์‚ฌ์šฉํ•  ๋•Œ HttpResponse ํด๋ž˜์Šค