Overview

Packages

  • awl
    • AuthPlugin
    • AwlDatabase
    • Browser
    • classEditor
    • DataEntry
    • DataUpdate
    • EMail
    • iCalendar
    • MenuSet
    • PgQuery
    • Session
    • Translation
    • User
    • Utilities
    • Validation
    • vCalendar
    • vComponent
    • XMLDocument
    • XMLElement
  • None

Functions

  • awl_version
  • check_by_regex
  • dbg_error_log
  • dbg_log_array
  • define_byte_mappings
  • deprecated
  • fatal
  • force_utf8
  • get_fields
  • gzdecode
  • olson_from_tzstring
  • param_to_global
  • quoted_printable_encode
  • replace_uri_params
  • session_salted_md5
  • session_salted_sha1
  • session_simple_md5
  • session_validate_password
  • trace_bug
  • uuid
  • Overview
  • Package
  • Function

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
Parameters summary
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.
API documentation generated by ApiGen