<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/langref.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'wrappers.php',
    1 => 'Supported Protocols and Wrappers',
    2 => 'Supported Protocols and Wrappers',
  ),
  'up' => 
  array (
    0 => 'langref.php',
    1 => 'Struttura del Linguaggio',
  ),
  'prev' => 
  array (
    0 => 'context.zlib.php',
    1 => 'Opzioni di contesto Zlib',
  ),
  'next' => 
  array (
    0 => 'wrappers.file.php',
    1 => 'file://',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'language/wrappers.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/wrappers.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="wrappers" class="reference">
 <h1 class="title">Supported Protocols and Wrappers</h1>
 <div class="partintro">
  <p class="para">
   PHP comes with many built-in wrappers for various URL-style protocols
   for use with the filesystem functions such as <span class="function"><a href="function.fopen.php" class="function">fopen()</a></span>,
   <span class="function"><a href="function.copy.php" class="function">copy()</a></span>, <span class="function"><a href="function.file-exists.php" class="function">file_exists()</a></span> and
   <span class="function"><a href="function.filesize.php" class="function">filesize()</a></span>.
   In addition to these wrappers, it is possible to register custom wrappers
   using the <span class="function"><a href="function.stream-wrapper-register.php" class="function">stream_wrapper_register()</a></span> function.
  </p>
  <blockquote class="note"><p><strong class="note">Nota</strong>: 
   <span class="simpara">
    The URL syntax used to describe a wrapper only supports the
    <code class="literal">scheme://...</code> syntax. The <code class="literal">scheme:/</code>
    and <code class="literal">scheme:</code> syntaxes are not supported.
   </span>
  </p></blockquote>
 </div>
 
 







 







 







 







 







 







 







 







 







 







 







 







 
<h2>Indice dei contenuti</h2><ul class="chunklist chunklist_reference"><li><a href="wrappers.file.php">file://</a> — Accessing local filesystem</li><li><a href="wrappers.http.php">http://</a> — Accessing HTTP(s) URLs</li><li><a href="wrappers.ftp.php">ftp://</a> — Accessing FTP(s) URLs</li><li><a href="wrappers.php.php">php://</a> — Accessing various I/O streams</li><li><a href="wrappers.compression.php">zlib://</a> — Compression Streams</li><li><a href="wrappers.data.php">data://</a> — Data (RFC 2397)</li><li><a href="wrappers.glob.php">glob://</a> — Find pathnames matching pattern</li><li><a href="wrappers.phar.php">phar://</a> — PHP Archive</li><li><a href="wrappers.ssh2.php">ssh2://</a> — Secure Shell 2</li><li><a href="wrappers.rar.php">rar://</a> — RAR</li><li><a href="wrappers.audio.php">ogg://</a> — Audio streams</li><li><a href="wrappers.expect.php">expect://</a> — Process Interaction Streams</li></ul>
</div>
<?php manual_footer($setup); ?>