What is meant by urlencode and urldecode?

What is meant by urlencode and urldecode?

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









Related Tutorials/Questions & Answers:
Advertisements