Lines Matching refs:variable
247 $variable = '';
253 if (empty($variable) && isset($_SERVER['HTTP_REFERER'])) {
254 $variable = $_SERVER['HTTP_REFERER'];
258 if (empty($variable) && isset($_SESSION[$name])) {
259 $variable = $_SESSION[$name];
263 if (empty($variable) && isset($_COOKIE[$name])) {
264 $variable = sharedapi_gpc_variable($name, '', 'c');
268 if (empty($variable) && isset($_GET[$gname])) {
269 $variable = sharedapi_gpc_variable($gname, '', 'g');
273 if (empty($variable) && isset($_GET[$gname])) {
274 $variable = sharedapi_gpc_variable($gname, '', 'p');
284 if (strpos($variable, $event . ':') !== false) {
285 $variable = substr($variable, strlen($event . ':'));
287 if (preg_match('/^\d+:(.*)/', $variable, $matches)) {
288 $variable = $matches[1];
292 return $variable;