What is the difference between urlencode and urldecode ?
Answers were Sorted based on User's Feedback
Answer / laxmikant
urlencode() returns the URL encoded version of the given
string. URL coding converts special characters into % signs
followed by two hex digits. For example: urlencode(”10.00%”)
will return “10%2E00%25″. URL encoded strings are safe to be
used as part of URLs.
urldecode() returns the URL decoded version of the given string.
| Is This Answer Correct ? | 19 Yes | 1 No |
Answer / prasadkonnur
urencode function is convenient when encoding a string to
be used in a query part of a URL, as a convenient way to
pass variables to the next page.
urldecode decodes the encoded string.
$_GET and $_REQUEST are all ready in decoded form
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / ks.tarun
urlencode: encode the Url Query string in a predefined ways.
urldecode: decode the url query string into values as was
passes in the url.
| Is This Answer Correct ? | 6 Yes | 0 No |
How to concatenate two strings in php?
Name the Functions in IMAP, POP3 AND LDAP?
This question is regarding version control. If two developers are committing the same php file at same time what will happen ? What error it will show (if any) ?
What is the difference between rest and soap?
i am a php programmer can i be a java programmer?
How to concatenate two strings together in php?
Without using forms and hidden variables, how to send variables from a PHP script to another URL using POST method?
Explain how can we increase the execution time of a php script?
How do you identify independent and dependent variables in regression analysis?
List some of the features of php7.
What is the output of the following php code?
What is the timeout period on session values?