Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 12653

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Supported Protocols and Wrappers</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="context.params.html">Context parameters</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="wrappers.file.html">file://</a></div>
 <div class="up"><a href="langref.html">Language Reference</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><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.html" class="function">fopen()</a></span>,
    <span class="function"><a href="function.copy.html" class="function">copy()</a></span>,  <span class="function"><a href="function.file-exists.html" class="function">file_exists()</a></span> and
    <span class="function"><a href="function.filesize.html" 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.html" class="function">stream_wrapper_register()</a></span> function.
  </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <span class="simpara">
    The URL syntax used to describe a wrapper only supports the
    <em>scheme://...</em> syntax. The <em>scheme:/</em>
    and <em>scheme:</em> syntaxes are not supported.
   </span>
  </p></blockquote>
 </div>
 
 







 







 







 







 







 







 







 







 







 







 







 







 
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="wrappers.file.html">file://</a> — Accessing local filesystem</li><li><a href="wrappers.http.html">http://</a> — Accessing HTTP(s) URLs</li><li><a href="wrappers.ftp.html">ftp://</a> — Accessing FTP(s) URLs</li><li><a href="wrappers.php.html">php://</a> — Accessing various I/O streams</li><li><a href="wrappers.compression.html">zlib://</a> — Compression Streams</li><li><a href="wrappers.data.html">data://</a> — Data (RFC 2397)</li><li><a href="wrappers.glob.html">glob://</a> — Find pathnames matching pattern</li><li><a href="wrappers.phar.html">phar://</a> — PHP Archive</li><li><a href="wrappers.ssh2.html">ssh2://</a> — Secure Shell 2</li><li><a href="wrappers.rar.html">rar://</a> — RAR</li><li><a href="wrappers.audio.html">ogg://</a> — Audio streams</li><li><a href="wrappers.expect.html">expect://</a> — Process Interaction Streams</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="context.params.html">Context parameters</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="wrappers.file.html">file://</a></div>
 <div class="up"><a href="langref.html">Language Reference</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>