downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/wrappers.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/appendices.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'wrappers.php',
   
1 => 'List of Supported Protocols/Wrappers',
  ),
 
'up' =>
  array (
   
0 => 'appendices.php',
   
1 => 'Appendices',
  ),
 
'prev' =>
  array (
   
0 => 'resource.php',
   
1 => 'List of Resource Types',
  ),
 
'next' =>
  array (
   
0 => 'wrappers.file.php',
   
1 => 'Filesystem',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div>
 <h1>List of Supported Protocols/Wrappers</h1>
<h2>Table of Contents</h2><ul class="chunklist chunklist_appendix"><li><a href="wrappers.file.php">Filesystem</a></li><li><a href="wrappers.http.php">HTTP and HTTPS</a></li><li><a href="wrappers.ftp.php">FTP and FTPS</a></li><li><a href="wrappers.php.php">PHP input/output streams</a></li><li><a href="wrappers.compression.php">Compression Streams</a></li><li><a href="wrappers.data.php">Data (RFC 2397)</a></li><li><a href="wrappers.glob.php">Glob</a></li><li><a href="wrappers.phar.php">Phar</a></li><li><a href="wrappers.ssh2.php">Secure Shell 2</a></li><li><a href="wrappers.audio.php">Audio Streams</a></li><li><a href="wrappers.expect.php">Process Interaction Streams</a></li></ul>

 <p class="para">
  PHP comes with many built-in wrappers for various URL-style protocols
  for use with the filesystem functions such as <a href="function.fopen.php" class="function">fopen()</a>
  and <a href="function.copy.php" class="function">copy()</a>. In addition to these wrappers, you can as of
  PHP 4.3.0, write your own wrappers using the <a href="function.stream-wrapper-register.php" class="function">stream_wrapper_register()</a>
  function.
 </p>
  <blockquote><p><b class="note">Note</b>:
   <span class="simpara">The URL syntax used to describe a wrapper only supports the scheme://... syntax. 
            scheme:/ and scheme: syntaxes are not supported.
   </span>
  </p></blockquote>
 <p class="para">
  List of context options is available in the chapter <a href="context.php" class="xref">Context options and parameters</a>.
 </p>

 

 

 

 

 

 

 


 


 

 


 

</div>
<?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites