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 |
What is variable give example?
How to enable error reporting in php?
What is an associative array?
What will the ?getdate() function returns in PHP?
i want simple programs in php and outputs and how to use in web developed side in php briefly explined in exmple
What are php variables?
How php statement is different from php script?
How to call php function from javascript using ajax?
Which is true about the singleton design pattern?
What is the use of nl2br() in php?
what is the url rewriting?how to rewrite the url? give any example
Tell me what are the functions to be used to get the image's properties (size, width and height)?