Wednesday, November 12, 2008

Question: What is meant by urlencode and urldecode?

Question: What is meant by urlencode and urldecode?

Answer:
string urlencode(str) where str contains a string for example “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 someurl.com?var=hello%world string urldocode(str) this will simply decode the GET variable’s value for example

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

No comments:

security header validate

  HTTP Security Headers Check Tool - Security Headers Response (serpworx.com)