This function is convenient when encoding a string to be used in a query part of a URL, as a convenient way to pass variables to the next page.

declaration of urlencode

string urlencode ( string $str )

test urlencode online

share urlencode

comments for urlencode

On 05. Feb 2014 17:23 LetynSOFT wrote:

Thanks, these are a very useful features. I don't need to write my own. :)

On 23. Nov 2013 00:07 Ian wrote:

Thank you, this saved me a lot of time and headaches! :)

On 25. Feb 2012 23:03 James Coot wrote:

Yes, very useful!

more comments for urlencode

There are some more comments for urlencode(). To see them all click here.


Leave your comment