Advertisement
Guest User

Untitled

a guest
May 26th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <?php
  2. require("header1.php");
  3.  
  4. require("common.php");
  5.  
  6. if(empty($_SESSION['user']))
  7. {
  8.  
  9. header("Location: login.php");
  10.  
  11. }
  12.  
  13.  
  14. $dbserver = "localhost";
  15. $dbusername = "xxxxxx";
  16. $dbpassword = "xxxxxx";
  17. $db = "xxxxxx";
  18. //ESTABLISH CONNECTION
  19. $conn = new mysqli($dbserver,$dbusername,$dbpassword,$db);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement