2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 05:16:31 +00:00
|
|
|
<!-- $Revision$ -->
|
2003-08-15 15:16:32 +00:00
|
|
|
|
2010-12-11 19:47:26 +00:00
|
|
|
<reference xml:id="wrappers" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
|
|
<title>Supported Protocols and Wrappers</title>
|
|
|
|
<partintro>
|
2003-05-14 22:04:50 +00:00
|
|
|
<para>
|
2010-12-11 19:47:26 +00:00
|
|
|
PHP comes with many built-in wrappers for various URL-style protocols
|
|
|
|
for use with the filesystem functions such as <function>fopen</function>,
|
|
|
|
<function>copy</function>, <function>file_exists</function> and
|
|
|
|
<function>filesize</function>.
|
|
|
|
In addition to these wrappers, it is possible to register custom wrappers
|
|
|
|
using the <function>stream_wrapper_register</function> function.
|
2003-05-14 22:04:50 +00:00
|
|
|
</para>
|
2010-05-31 14:37:39 +00:00
|
|
|
<note>
|
|
|
|
<simpara>
|
2010-12-11 19:47:26 +00:00
|
|
|
The URL syntax used to describe a wrapper only supports the
|
|
|
|
<literal>scheme://...</literal> syntax. The <literal>scheme:/</literal>
|
|
|
|
and <literal>scheme:</literal> syntaxes are not supported.
|
2010-05-31 14:37:39 +00:00
|
|
|
</simpara>
|
|
|
|
</note>
|
2010-12-11 19:47:26 +00:00
|
|
|
</partintro>
|
2010-07-03 08:19:20 +00:00
|
|
|
|
2010-12-11 19:47:26 +00:00
|
|
|
&language.wrappers.file;
|
|
|
|
&language.wrappers.http;
|
|
|
|
&language.wrappers.ftp;
|
|
|
|
&language.wrappers.php;
|
|
|
|
&language.wrappers.compression;
|
|
|
|
&language.wrappers.data;
|
|
|
|
&language.wrappers.glob;
|
|
|
|
&language.wrappers.phar;
|
|
|
|
&language.wrappers.ssh2;
|
|
|
|
&language.wrappers.rar;
|
|
|
|
&language.wrappers.audio;
|
|
|
|
&language.wrappers.expect;
|
|
|
|
|
|
|
|
</reference>
|
2002-09-24 02:53:08 +00:00
|
|
|
|
2002-09-16 18:13:37 +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-09-16 18:13:37 +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
|
|
|
|
-->
|