-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsql.php
More file actions
80 lines (76 loc) · 1.1 KB
/
sql.php
File metadata and controls
80 lines (76 loc) · 1.1 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php
require_once "connect.php";
$uname=$_GET["login"];
function VBOOK()
{
header("Location:VBOOK.php");
}
function VEMP()
{
header("Location:VEMP.php");
}
function VPDEL()
{
$_COOKIE['login']=$uname;
header("Location:VPDEL.php");
}
function VBDET()
{
header("Location:VBDET.php");
}
function VCDET()
{
header("Location:VCDET.php");
}
function VMDET()
{
header("Location:VMDET.php");
}
function MBOOK()
{
header("Location:MBOOK.php");
}
function MEMP()
{
header("Location:MEMP.php");
}
function MDEL()
{
header("Location:MDEL.php");
}
function MBDET()
{
header("Location:MBDET.php");
}
function MCDET()
{
header("Location:MCDET.php");
}
function CPDEL()
{
header("Location:CPDEL.php");
}
$action=$_GET['action'];
if($action=="VEMP")
VEMP();
else if($action=="VBOOK")
VBOOK();
else if($action=="VBDET")
VBDET();
else if($action=="VPDEL")
VPDEL();
else if($action=="VCDET")
VCDET();
else if($action=="VMDET")
VMDET();
else if($action=="MBOOK")
MBOOK();
else if($action=="MEMP")
MEMP();
else if($action=="MDEL")
MDEL();
else if($action=="MBDET")
MBDET();
else if($action=="MCDET")
MCDET();
?>