Please answer this simple SPAM challenge: max(five, two)?
(Example: nine)

The Note You're Voting On

12 years ago
$_GET may not handle query string parameter values which include escaped Unicode values resulting from applying the JavaScript "escape" function to a Unicode string.
To handle this the query parameter value can be obtained  using a function such as:

function getQueryParameter ($strParam) {
  $aParamList = explode('&', $_SERVER['QUERY_STRING']);
  $i = 0;
  while ($i < count($aParamList)) {
    $aParam = split('=', $aParamList[$i]);
    if ($strParam == $aParam[0]) {
      return $aParam[1];
  return "";

or by directly building an array or query string values and then processing the parameter string using a function such as the "unescape" function which can be found at (or for related info).

<< Back to user notes page

To Top