Ugrás a tartalomhoz Lépj a menübe
 


SMS

<?php
session_start();
if ( ! ini_get("register_globals") ) { if (!empty($_GET)) while(list($name, $value) = each($_GET)) $$name = $value;
if (!empty($_POST)) while(list($name, $value) = each($_POST)) $$name = $value;
if (!empty($_COOKIE)) while(list($name, $value) = each($_COOKIE)) $$name = $value;
if (!empty($_SESSION)) while(list($name, $value) = each($_SESSION)) $$name = $value; }
$oldal_azon = 9340;
$most = mktime();
if ( (! session_is_registered ( belepve )) or (! session_is_registered ( page_id )))
{
$_SESSION[belepve] = $_POST['belepve'];
$_SESSION[page_id] = $_POST['page_id'];
$_SESSION[belepes_ideje] = $belepes_ideje = mktime();
}
if ( ($belepve != "true") or ($oldal_azon != $page_id) or (($belepes_ideje + 86400) < $most))
{
session_destroy();
$vissza = "http://www.info-tech.hu/smsweb/login_pay.php?page_id=".$oldal_azon;
header("Location:" .$vissza);
}
?>