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:

Kubernetes in one shotcat

root@srv509172:~# cat kind1/config.yaml   kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane   image: kindest/nod...