miao
V2EX  ›  PHP

php 如何获得当前页的 Response cookies

  •  
  •   miao · Jul 29, 2015 · 2990 views
    This topic created in 4024 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   ·   2523 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:59 · PVG 23:59 · LAX 08:59 · JFK 11:59
    ♥ Do have faith in what you're doing.