From bc31ed0e4647a568a1596cc2e09664675479a70d Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Fri, 1 Jan 2010 19:36:31 +0100 Subject: better validation of possible user input (get) --- inc/collectd.inc.php | 2 ++ inc/functions.inc.php | 27 +++++++++++++++++++++++++++ inc/html.inc.php | 13 ++++++++----- 3 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 inc/functions.inc.php (limited to 'inc') diff --git a/inc/collectd.inc.php b/inc/collectd.inc.php index 2a44fba..ab4340f 100644 --- a/inc/collectd.inc.php +++ b/inc/collectd.inc.php @@ -1,5 +1,7 @@ diff --git a/inc/html.inc.php b/inc/html.inc.php index e93cc66..e38ca8e 100644 --- a/inc/html.inc.php +++ b/inc/html.inc.php @@ -1,7 +1,10 @@