Home >> PHP >> How To Protect Special Characters in Query String in PHP

How To Protect Special Characters in Query String in PHP

urlencode()- function that can be used to encode a string in a query part of a URL.

urldecode() - function that is used to decode the encoded string.

Post Your Comment

Next Questions
What is the difference between GET and POST
What are the different types of errors
If conditional statement
If else conditional statement
If else / else if conditional statement
Switch conditional statement
For loop
While loop
Do while loop
Foreach loop
Operators
Arithmatic operators
Assignment operators
Increment / Decrement Operators
Comparision Operators
Logical operators
Array Operators
String
addcslashes() function
addslashes() function
chunk_split() function
crc32() function
explode() function
implode() function
join() function

Copyright ©2022 coderraj.com. All Rights Reserved.