downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<parse_urlrawurlencode>
Last updated: Thu, 26 Jun 2008

rawurldecode

(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.

Parameters

str

The URL to be decoded.

Return Values

Returns the decoded URL, as a string.

Examples

Example #1 rawurldecode() example

<?php

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

?>

Notes

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



add a noteadd a note User Contributed Notes
Decode URL-encoded strings
There are no user contributed notes for this page.




<parse_urlrawurlencode>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs