PHP Classes

File: Index.php

Recommend this page to a friend!
  Classes of Christian Petersen   Simple Class Redirection   Index.php   Download  
File: Index.php
Role: Example script
Content type: text/plain
Description: index
Class: Simple Class Redirection
Redirect users using HTML meta tags
Author: By
Last change:
Date: 10 years ago
Size: 347 bytes


Class file image Download
$var = 1; // you can replace this with a query to de DB
if($var == 0) {
$redirection = new Redirect("construction.html");
$redirection -> gorredirection();
$var == 1) {
$redirection = new Redirect("site.html");
$redirection -> gorredirection();