SHARE
TWEET

php session

a guest Nov 19th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  session_start();
  3.  $_SESSION["username"]="Abid Hasan";
  4.  if(isset($_SESSION["username"])){
  5.  echo "Hey $_SESSION[username] ! Lets talk about tech";
  6.  }
  7. ?>
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