-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.inc
36 lines (31 loc) · 1.17 KB
/
variables.inc
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
<?php
isset( $_POST["admin"] ) ? $step = $_POST["admin"] : $step = $_GET["admin"];
if(( isset( $_POST["N_grad"] )) && ( isset( $_POST["N_gradminuten"] )) &&
( isset( $_POST["O_grad"] )) && ( isset( $_POST["O_gradminuten"] ))) {
$values = array( "N_grad"=>$_POST["N_grad"],
"N_gradminuten"=>$_POST["N_gradminuten"],
"O_grad"=>$_POST["O_grad"],
"O_gradminuten"=>$_POST["O_gradminuten"] );
}
if(( isset( $_GET["N_grad"] )) && ( isset( $_GET["N_gradminuten"] )) &&
( isset( $_GET["O_grad"] )) && ( isset( $_GET["O_gradminuten"] ))) {
$values = array( "N_grad"=>$_GET["N_grad"],
"N_gradminuten"=>$_GET["N_gradminuten"],
"O_grad"=>$_GET["O_grad"],
"O_gradminuten"=>$_GET["O_gradminuten"] );
}
if( isset( $_POST["name"] )) {
$name = $_POST["name"];
#$name = strip_tags( $name );
#$name = strip_tags($name);
#$name = str_replace( "\"", "/", $name );
$name = str_replace("\"",""",$name);
$name = str_replace("\'",""",$name);
$name = str_replace("\\","",$name);
}
if( isset( $_POST["email"] )) {
$email = str_replace( "\"","",$_POST["email"] );
$email = str_replace( "\'","",$email);
$email = str_replace("\\","",$email);
}
?>