File: fwphp/01mater/shop/util/valid_admin.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/01mater/shop/util/valid_admin.php  >  Download  
File: fwphp/01mater/shop/util/valid_admin.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: ver 7.0.1 mnu, msg, mkd FUNCTIONAL namespaces, CRUD PDO trait, pretty URL-s
Date: 1 month ago
Size: 185 bytes
 

Contents

Class file image Download
<?php
   
// make sure the user is logged in as a valid administrator
   
if (!isset($_SESSION['admin'])) {
       
header('Location: ' . $module_relpath . 'admin/account/' );
    }
?>

For more information send a message to info at phpclasses dot org.