PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
  Classes of zinsou A.A.E.Mo´se  >  PHP Mnemonic Secret Path Login  >  index.php  >  Download  
File: index.php
Role: Auxiliary script
Content type: text/plain
Description: auxilliary script
Class: PHP Mnemonic Secret Path Login
Detect human users telling to click on page places
Author: By
Last change:
Date: 1 year ago
Size: 370 bytes
 

Contents

Class file image Download
<?php
session_start
();
$url='connexion.php';
if(!isset(
$_SESSION['connected'])){

    echo
'<script type="text/javascript">window.location="'.$url.'";</script>';
   
header('location: connexion.php');
    exit();

}else{
   
$url='preferences.php';
    echo
'<script type="text/javascript">window.location="'.$url.'";</script>';
   
header('location: preferences.php');
}
?>