daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Jan 21st, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. echo json_encode([
  2.     'user_id' => $_SESSION['user_id']
  3. ]);
  4.    
  5. {"user_id":23}
  6.    
  7. $homepage = file_get_contents('http://www.example.com/?whoIsLoggedIn');
  8. echo $homepage;
  9.    
  10. {"user_id":null}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top