User Tools

Site Tools


uphp:functions:urldecode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

uphp:functions:urldecode [2021/01/27 04:50]
admin
uphp:functions:urldecode [2021/09/13 05:57]
Line 1: Line 1:
-======urldecode====== 
  
-<badge>WMMEGA FW >= 2.1179</badge> 
- 
-URL-decode a string 
- 
-====Description==== 
- 
-<well size="sm"><html> 
-<span style="font-size:125%;color:green">string 
-<span style="color:black">urldecode ( 
-<span style="color:green">string 
-<span style="color:blue">$data 
-<span style="color:black">) 
-</html></well> 
- 
-Decodes any %## encoding in the given string. Plus symbols ('+') are decoded to a space character.  
- 
-====Parameter==== 
- 
-<html><b><span style="color:blue">$data<span style="color:black"></b>:  <b><span style="color:green">String<span style="color:black"></b> to be decoded</html> 
- 
-====Return Values==== 
- 
-<html><b><span style="color:green">String<span style="color:black"></b> with certain characters replaced. </html> 
- 
- 
-====Examples==== 
- 
-<code php> 
-<? 
-  $data="%23G%282BH%29" 
-  $send=urldecode($data); 
-  print($send); // #G(2BH) 
-?> 
-</code> 
- 
- 
-====See Also==== 
- 
-[[urlencode()]] - Encode a string 
-[[htmlspecialchars()]] - Format special characters 
uphp/functions/urldecode.txt · Last modified: 2021/09/13 05:57 (external edit)