Junior PHP Developer Question:

Explain difference between urlencode and urldecode?

Tweet Share WhatsApp

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.

Download Junior PHP Developer PDF Read All 161 Junior PHP Developer Questions
Previous QuestionNext 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?