<?php
/**
* This is example file to implement wap redirection code
* @version 0.1
* @copyright (C) 2010 Rajesh Bhatia. All rights reserved
* @license http://www.gnu.org/copyleft/lesser.html LGPL License
* @author Rajesh Bhatia <rajesh123bhatia@gmail.com>
**/
require_once("wapRedirect.php");
// First parameter to constructor is for PC
// Second parameter to constructor is for WAP
// Third parameter to constructor is for iPhone
// Forth parameter to constructor is for Play station
$objRedirect = new redirectWAPPC("google.com","m.google.com","m.google.com","m.google.com");
if(!isset($_SESSION['redirect_implemented'])){
$objRedirect->ImplementRedirect();
}
?>
|