What is meant by urlencode and urldecode?

Ads

 
 

Share on Google+Share on Google+

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

What is meant by urlencode and urldecode?

Ads
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


Ads