What is meant by urlencode and urldecode?

string urlencode(str)

Where str contains a string like this “hello world” and the return value will be URL encoded and can be use to append with URLs, normaly used to appned data for GET like

string urldocode(str)

This will simple decode the GET variable’s value

Like it echo (urldecode($_GET_VARS[var])) will output “Hello world”


Post a Comment