What is meant by urlencode() and urldecode()?
Question : What is meant by urlencode() and urldecode()?
string urlencode(str) When str contains a string like this “hello world” and the return value will be URL encoded and can be use to append with URLs, normally used to append data for GET like someurl.com?var=hello%world string urldocode(str) This will simple decode the GET variable’s value. Example: echo (urldecode($_GET_VARS[var])) will output “hello world”