What is urlencode and urldecode in php?



What is urlencode and urldecode in php?..

Answer / Praveen Kumar Awasthi

In PHP, urlencode() function encodes a string into a format suitable for use in a URL, replacing spaces and special characters with their respective percent-encoded equivalents. On the other hand, urldecode() function decodes a URL-encoded string.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

How we can get the number of elements in an array?

1 Answers  


What does the array operator '===' means?

1 Answers  


How to get a total number of elements used in the array?

1 Answers  


Is php faster than javascript?

1 Answers  


I have 10 elements of Array, how can i remove 5 array element, with single function.

13 Answers  


Does php has a future?

1 Answers  


What are the benefits of using queries?

1 Answers  


How to store the uploaded file to the final location?

1 Answers  


what is mean php ? is it designingtool or language? how ill create website using by php?

1 Answers  


Describe session in php.

1 Answers  


Any good PHP developer looking for change

1 Answers  


What is ci in php?

1 Answers  


Categories