PHP » PYTHON |
login |
register |
about
|
PYTHON urldecode
is this article helpful?
|
Python replacement for PHP's urldecode
[
edit
| history
]
#2.x import urllib result = urllib.unquote_plus(myStr) #3.x import urllib.parse result = urllib.parse.unquote_plus(myStr) urldecode(PHP 4, PHP 5) urldecode — Decodes URL-encoded string Description
string urldecode
( string $str
)
Decodes any %## encoding in the given string. Parameters
Return ValuesReturns the decoded string. Examples
Example #1 urldecode() example
<?php
NotesSee Also
|
more
Recently updated
more
Most requested
|