The meaning of special characters
————————————————————————————
Characters The meaning of special characters URL encoding
# Used to mark a specific document location %23
% Encode special characters %25
& separates different variable value pairs %26
+ represents a space in the variable value %2B
\ represents the directory path %2F
= Used to connect keys and values %3D
? Represents the beginning of the query string %3F
——————————————————————————————
When a string containing special characters with special functions in the above list is passed as a parameter in the GET method, it only needs to be processed with the URLENCODE method. If you don’t want the viewer to see the specific value of the string containing the HTML TAG, we can use HTMLENCODE to process it.
The above is the detailed content of Problem with passing special symbols in get request. For more information, please follow other related articles on the PHP Chinese website!