miao
V2EX  ›  PHP

php 如何获得当前页的 Response cookies

  •  
  •   miao · Jul 29, 2015 · 2917 views
    This topic created in 3984 days ago, the information mentioned may be changed or developed.
    1 replies    2015-07-30 11:29:30 +08:00
    iammutex
        1
    iammutex  
       Jul 30, 2015
    在最后面用 headers_list 函数,获取到发送出去的所有header,把 set-cookie 这个头的内容拿到就行了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4361 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 10:06 · PVG 18:06 · LAX 03:06 · JFK 06:06
    ♥ Do have faith in what you're doing.