Skip to content

urldecode ​

php
string urldecode ( string $lancuch )

Decodes all %##-encoded characters in $lancuch, for example replacing %26 with &.

Example:

php
$imie ="Rejmont%26Jan";
$nazwisko="Kama%3DKama";

print("Customer: ".urldecode($imie)." ".urldecode($nazwisko));

Result:

Customer: Rejmont&Jan Kama=Kama