Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 28th, 2012  |  syntax: PHP  |  size: 0.37 KB  |  views: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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)