Advertisement
Guest User

Untitled

a guest
Oct 28th, 2012
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement