| AND OR | string words | *

manual for rawurldecode | search for "rawurldecode"


rawurldecode

(PHP 3, PHP 4 , PHP 5)

rawurldecode -- Decode URL-encoded strings

Description

string rawurldecode ( string str)

Returns a string in which the sequences with percent (%) signs followed by two hex digits have been replaced with literal characters.

Example 1. rawurldecode() example

<?php

echo rawurldecode('foo%20bar%40baz'); // foo bar@baz

?>

Note: rawurldecode() does not decode plus symbols ('+') into spaces. urldecode() does.

See also rawurlencode(), urldecode() and urlencode().

Manual © 2001-2008 The PHP Group
© 2008 phparadise | go to the top | search phparadise | generated in 0.03 seconds

50 hits by 13 users in the last 30 minutes.