diff options
Diffstat (limited to 'A8_srv_build/sessionvars.php')
-rw-r--r-- | A8_srv_build/sessionvars.php | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/A8_srv_build/sessionvars.php b/A8_srv_build/sessionvars.php new file mode 100644 index 0000000..dca0bb0 --- /dev/null +++ b/A8_srv_build/sessionvars.php @@ -0,0 +1,61 @@ +<?php +session_start(); +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="content-type" content="text/html;charset=utf-8"> +<link rel="stylesheet" type="text/css" href="/css/style.css"> +<link rel="stylesheet" type="text/css" href="/css/table.css"> +<title></title> +</head> +<body> +<?php +var_dump($_GET); +if( isset($_POST['con']) ) +{ + $_SESSION['con'] = $_POST['con']; +} else { + unset($_SESSION['con']); +} + +if( isset($_POST['bul']) ) +{ + $_SESSION['bul'] = $_POST['bul']; +} else { + unset($_SESSION['bul']); +} + +if( isset($_POST['nst']) ) +{ + $_SESSION['nst'] = $_POST['nst']; +} else { + unset($_SESSION['nst']); +} + +if( isset($_POST['set']) ) +{ + $_SESSION['set'] = $_POST['set']; +} else { + unset($_SESSION['set']); +} + +if( isset($_POST['not']) ) +{ + $_SESSION['not'] = $_POST['not']; +} else { + unset($_SESSION['not']); +} + +if( isset($_POST['url']) ) +{ + $_SESSION['url'] = $_POST['url']; +} else { + unset($_SESSION['url']); +} + +header("location:list.php"); +exit(); +?> +</body> +</html> |