GetSimple Support Forum
$_POST Question - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: $_POST Question (/showthread.php?tid=2924)



$_POST Question - Mittens - 2012-03-14

hi, I just started trying to build my own plugin. I was wondering if the system performs any functions on post data such as it does with get (xss)...

Also wanted to know if any functions are available to sanitize user input. I am trying to port my league system and I needed db support which I just covered with a class.


$_POST Question - ccagle8 - 2012-03-14

no, we only sanitize get variables. Taking it any further is up to the developer.

There are quite a few functions inside /admin/inc/basic.php (email and url sanitizations)