aboutsummaryrefslogtreecommitdiffstats
path: root/A8_srv_build/sessionvars.php
blob: dca0bb0c3cc785ccec0508fdf16462b3f2d616ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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>