aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/functions.inc.php')
-rw-r--r--inc/functions.inc.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/functions.inc.php b/inc/functions.inc.php
index 04e58e3..39f1cd0 100644
--- a/inc/functions.inc.php
+++ b/inc/functions.inc.php
@@ -2,6 +2,12 @@
2 2
3# global functions 3# global functions
4 4
5function GET($index) {
6 if (isset($_GET[$index]))
7 return $_GET[$index];
8 return null;
9}
10
5function validate_get($value, $type) { 11function validate_get($value, $type) {
6 switch($type) { 12 switch($type) {
7 case 'host': 13 case 'host':