Junior PHP Developer Question:
Explain difference between urlencode and urldecode?
Answer:
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.
Previous Question | Next Question |
Tell me what is the main difference between require() and require_once()? | Tell me how to set a page as a home page in a php based site? |