Is it possible to protect special characters in a query string?
- Yes
- No
- Depends on the programming language
- Depends on the server configuration
Yes, it is possible to protect special characters in a query string by properly encoding them using URL encoding. Special characters are replaced by a "%" followed by their ASCII value in hexadecimal format. Learn more: http://www.w3schools.com/tags/ref_urlencode.ASP
Loading...
Related Quiz
- Which of the following are true about functions in PHP?
- Which of the following are true about the switch statement in PHP?
- You need to close a file in your PHP script after you're done with it. How would you do this?
- In PHP, a number with a decimal point or an exponential form is considered a float.
- The same function name can be used for multiple functions in the same PHP script.