Function param_to_global
Convert a parameter to a global. We first look in _POST and then in _GET, and if they passed in a bunch of valid characters, we will make sure the incoming is cleaned to only match that set.
Package: awl\Utilities
Copyright: Catalyst IT Ltd, Morphoss Ltd http://www.morphoss.com/
License: GNU LGPL version 3 or later
Author: Andrew McMillan andrew@mcmillan.net.nz
Located at AWLUtilities.php
Copyright: Catalyst IT Ltd, Morphoss Ltd http://www.morphoss.com/
License: GNU LGPL version 3 or later
Author: Andrew McMillan andrew@mcmillan.net.nz
Located at AWLUtilities.php
string |
$varname,… |
The name of the global variable to put the answer in |
string |
$match_regex,… |
The part of the parameter matching this regex will be returned |
string |
$alias1,… |
An alias for the name that we should look for first. |