SHARE
TWEET

Untitled

a guest Oct 28th, 2012 11 Never
  1. <?php
  2. session_start();
  3. $_SESSION['a'] = "xx";
  4. var_dump(headers_list());
  5. ?>
  6.  
  7.  
  8. Result
  9.  
  10. array
  11.   0 => string 'X-Powered-By: PHP/5.3.8' (length=23)
  12.   1 => string 'Expires: Thu, 19 Nov 1981 08:52:00 GMT' (length=38)
  13.   2 => string 'Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0' (length=77)
  14.   3 => string 'Pragma: no-cache' (length=16)
RAW Paste Data
Top