Junior PHP Developer Question:

Download Job Interview Questions and Answers PDF

Explain difference between urlencode and urldecode?

Junior PHP Developer Interview Question
Junior PHP Developer Interview Question

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 Interview Questions And Answers PDF

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?