update page now
PHP 8.1.34 Released!

Voting

: five plus two?
(Example: nine)

The Note You're Voting On

tomas at penajaca dot com dot br
22 years ago
urldecode does not decode "%0"  bypassing it. I can cause troble when you are working with fixed lenght strings.

You can you the function below.

function my_urldecode($string){

  $array = split ("%",$string);

  if (is_array($array)){
    while (list ($k,$v) = each ($array)){
       $ascii = base_convert ($v,16,10);
       $ret .= chr ($ascii);
    }
 }
 return ("$ret");
}

<< Back to user notes page

To Top