<?php // Initialize the session session_start(); // Check if the user is logged in, if not then redirect him to login page if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ // header("location: login.php"); // exit; } $id=$_GET["id"]; $username=$_GET["username"]; $guser=$_GET["guser"]; $_SESSION["loggedin"] = true; $_SESSION["id"] = $id; $_SESSION["uid"] = $id; $_SESSION["username"] = $username; $_SESSION["guser"] = $guser; $id=$_SESSION["uid"] ; $username=$_SESSION["username"]; $guser=$_SESSION["guser"]; $packid=$_GET["packid"]; $title=$_GET["title"]; $ownid=$_GET["ownid"]; $tlink="zform55e.php?packid=".$packid."&ownid=".$ownid."&title=".$title; header( "location: ".$tlink ); ?> <!-- <div class="page-header"> Hi, <b><?php echo htmlspecialchars($_SESSION["username"]).":".$id.":".$guser; ?></b>.<A href=chat3.php>CHAT</a> <a href=userlistp.php.php>Userlist</a>.<a href=fixalist3.php>PROGRAM list</a><a href=index.php>home</a>||<a href=user_list.php>user list</a>||<a href=reset-password.php>Reset Password</a> </div> --!> <script> //window.history.back(); // Simulate an HTTP redirect: window.location.replace("<?php $tlink;?>"); </script>
Edit file:superuser_gofe.php1693