2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2009-07-11 09:15:58 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<refentry xml:id="function.rawurldecode" xmlns="http://docbook.org/ns/docbook">
|
2006-03-10 04:54:53 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>rawurldecode</refname>
|
|
|
|
<refpurpose>Decode URL-encoded strings</refpurpose>
|
|
|
|
</refnamediv>
|
2007-02-03 01:10:26 +00:00
|
|
|
|
2007-02-03 01:10:52 +00:00
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2006-03-10 04:54:53 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>string</type><methodname>rawurldecode</methodname>
|
|
|
|
<methodparam><type>string</type><parameter>str</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
|
|
|
Returns a string in which the sequences with percent
|
2007-02-03 01:10:52 +00:00
|
|
|
(<literal>%</literal>) signs followed by two hex digits have been replaced
|
|
|
|
with literal characters.
|
2006-03-10 04:54:53 +00:00
|
|
|
</para>
|
2007-02-03 01:10:52 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
|
|
|
<para>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>str</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The URL to be decoded.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
|
|
|
Returns the decoded URL, as a string.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="examples">
|
|
|
|
&reftitle.examples;
|
2006-03-10 04:54:53 +00:00
|
|
|
<para>
|
|
|
|
<example>
|
|
|
|
<title><function>rawurldecode</function> example</title>
|
|
|
|
<programlisting role="php">
|
2003-10-22 11:57:43 +00:00
|
|
|
<![CDATA[
|
|
|
|
<?php
|
|
|
|
|
|
|
|
echo rawurldecode('foo%20bar%40baz'); // foo bar@baz
|
|
|
|
|
|
|
|
?>
|
|
|
|
]]>
|
2006-03-10 04:54:53 +00:00
|
|
|
</programlisting>
|
|
|
|
</example>
|
|
|
|
</para>
|
2007-02-03 01:10:52 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="notes">
|
|
|
|
&reftitle.notes;
|
2006-03-10 04:54:53 +00:00
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
<function>rawurldecode</function> does not decode plus symbols ('+')
|
|
|
|
into spaces. <function>urldecode</function> does.
|
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
</refsect1>
|
2007-02-03 01:10:52 +00:00
|
|
|
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
|
|
|
<para>
|
|
|
|
<simplelist>
|
|
|
|
<member><function>rawurlencode</function></member>
|
|
|
|
<member><function>urldecode</function></member>
|
|
|
|
<member><function>urlencode</function></member>
|
|
|
|
</simplelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
2006-03-10 04:54:53 +00:00
|
|
|
</refentry>
|
2002-04-15 00:12:54 +00:00
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2002-04-15 00:12:54 +00:00
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|