PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of jon   PHP Login Site with Cookie MD5 Hash   index.php   Download  
File: index.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: PHP Login Site with Cookie MD5 Hash
User login system using cookies with MD5 tokens
Author: By
Last change:
Date: 2 months ago
Size: 482 bytes
 

Contents

Class file image Download
<?php


//need to create an apache_alias to the folder that holds the file files you want the explorer to navigate

//start a session for $_SESSION vars to work
session_start();

//make the browser cache last a long time
header("Cache-Control: max-age=2592000");

require_once
"Core/Define.php";
require_once
"Core/Init.php";

//gets index file associated with the version detailed on the config file
include('updates/'.$_SESSION['version'].'/index.php');




?>