PHP Urlencode & Urldecode - What is urlencode and urldecode?

What is urlencode and urldecode?

Urlencode can be used to encode a string that can be used in a url. It encodes the same way posted data from web page is encoded. It returns the encoded string.

urlencode (string $str )

Urldecode can be used to decode a string. Decodes any %## encoding in the given string (Inserted by urlencode)

urldecode (string $str )

What is urlencode and urldecode in PHP?

urlencode () is the function that can be used conveniently to encode a string before using in a query part of a URL. This is a convenient way for passing variables to the next page.
urldecode() is the function that is used to decode the encoded string.
PHP Errors - What are the different types of errors in PHP?
PHP Errors - Different types of errors are......
PHP - Explain how to submit form without a submit button.
PHP - A form data can be posted or submitted without the button in the following ways...
PHP - What are the functions for IMAP?
PHP - IMAP is used for communicate with mail servers. It has a number of functions....
Post your comment