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 |
i want to store retrieved data from database into an array list with limit.And display the data from that array list.have any answer for this?
Can we set session value in javascript?
Do you know how can php and html interact?
What are the rules to determine the “truth” of any value which is not already of the boolean type?
What is the difference between $argv and $argc? Give example?
what is the difference between GET,POST and REQUEST in php
How to increase session life time using PHP?
What is the correct and the most two common way to start and finish a php block of code?
How can you make a connection with mysql server using php?
What is htaccess? Why do we use this and where?
Tell me in php, objects are they passed by value or by reference?
How do functions work?