Due to historical reasons, in the early URL encoding regulations, spaces were converted to "+". If you want to be compatible with this encoding rule, you can use the urlencode() function. For example, the following example:
Next we will talk about, since it can be encoded, of course it can also be decoded. The decoding functions corresponding to the two url encoding functions above are: rawurldecode() and urldecode(), such as those used in the following example:
|