Hi friends,
I want to know that What is urlencode and urldecode?
Thanks
Urlencode and urldecode
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Dec 13, 2011, 5:31 PM EST
Urlencode can be used to encode a string that can be used in a url. It encodes the same way posted data from web page is encoded. It returns the encoded string.
Syntax: urlencode (string $str )
Urldecode can be used to decode a string. Decodes any %## encoding in the given string (Inserted by urlencode)
Syntax: urldecode (string $str )
Please refer the below link
http://www.php.net/manual/en/function.urlencode.php
http://php.net/manual/en/function.urldecode.php
Thanks