brijesh
What is meant by urlencode and urldecode?
1 Answer(s)      4 years and 10 months ago
Posted in : PHP

What is meant by urlencode and urldecode?

Advertisement
View Answers

November 13, 2010 at 4:55 PM


Hi,

urlencode() returns the URL encoded version of the given string. URL coding converts special characters into % signs followed by two hex digits. For example: urlencode("10.00%") will return "10%2E00%25". URL encoded strings are safe to be used as part of URLs. urldecode() returns the URL decoded version of the given string.

Thanks