Advertisement
Guest User

Untitled

a guest
Jan 29th, 2017
113
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. session_start();
  3. include"includes/connection.php";
  4. //Якщо користувач не був на сторінці index.php то він попадає на index.php
  5. if(!isset($_SESSION['u_email'])){
  6.     header('location:index.php');
  7. }
  8. else{
  9. //Куча php........
  10. ?>
  11. //Куча html..........
  12. <?php } ?>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement