NOVINKA: Najžiadanejšie rekvalifikačné kurzy teraz s 50% zľavou + kurz AI ZADARMO. Nečakaj, táto ponuka dlho nevydrží! Zisti viac:

PHP - urldecode

Trieda

Koreň \ Bez triedy

Metóda - urldecode

(PHP 4, PHP 5, PHP 7)

Decodes a string encoded in the URL-friendly form into the normal string representation.

Note: Do not use this function on $_GET or $_REQUEST, they're already decoded.

Procedurálne

Parametre

NázovDátový typPredvolená hodnotaPopis
$strstring

The string which will be decoded.

Mávratovej hodnoty

Vracia: string

Returns the string decoded to the normal form.

Príklady

<?php

echo urldecode("http%3A%2F%2Fict.social%2F%3Fx%3D1%26y%3D2") . "\n";

Súvisiace manuály

      Aktivity