Google News
logo
PHP - Interview Questions
Distinguish between urlencode and urldecode?
This method is best when encode a string to used in a query part of a url. it returns a string in which all non-alphanumeric characters except -_. have replece with a percentege(%) sign . the urldecode->Decodes url to encode string as any % and other symbole are decode by the use of the urldecode() function.
Advertisement