PHP/HTML/rawurldecode — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
м (1 версия)
 
(нет различий)

Версия 13:37, 26 мая 2010

string rawurldecode ( string str ) converts a %-escaped string into its original format, reversing the operation of rawurlencode( ) .

   <source lang="html4strict">

<?

   $name = "P "H" P";
   $safe_name = rawurlencode($name);
 
   $unsafe_name = rawurldecode($name);

?>

 </source>
   
  


string rawurlencode ( string str ) converts non-alphabetic symbols into numerical equivalents preceded by a percent sign

   <source lang="html4strict">

<?

   $name = "P "H" H";
   $safe_name = rawurlencode($name);

?>

 </source>