mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-20 19:08:54 +00:00
84 lines
2 KiB
XML
84 lines
2 KiB
XML
![]() |
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
|
<!-- $Revision: 1.1 $ -->
|
||
|
<reference id="ref.net-gopher">
|
||
|
<title>Net_Gopher</title>
|
||
|
<titleabbrev>gopher</titleabbrev>
|
||
|
|
||
|
<partintro>
|
||
|
<section id="net-gopher.intro">
|
||
|
&reftitle.intro;
|
||
|
<simpara>
|
||
|
The gopher protocol, as defined by <ulink url="&url.rfc;1436">RFC 1436</ulink>,
|
||
|
is generally considered the ancestor of the modern HTTP protocol.
|
||
|
However, gopher was also intended to provide references to non-gopher
|
||
|
resources including telnet, wais, nntp, and even http. This extension
|
||
|
adds gopher support to PHP's <link linkend="wrappers">URL Wrappers</link>,
|
||
|
and provides a helper function <function>gopher_parsedir</function> to
|
||
|
make sense of gopher formatted directory listings.
|
||
|
</simpara>
|
||
|
</section>
|
||
|
|
||
|
<section id="net-gopher.requirements">
|
||
|
&reftitle.required;
|
||
|
<para>
|
||
|
</para>
|
||
|
</section>
|
||
|
|
||
|
&reference.net-gopher.configure;
|
||
|
|
||
|
<section id="net-gopher.configuration">
|
||
|
&reftitle.runtime;
|
||
|
&no.config;
|
||
|
</section>
|
||
|
|
||
|
<section id="net-gopher.resources">
|
||
|
&reftitle.resources;
|
||
|
&no.resource;
|
||
|
</section>
|
||
|
|
||
|
<section id="net-gopher.constants">
|
||
|
&reftitle.constants;
|
||
|
&no.constants;
|
||
|
</section>
|
||
|
|
||
|
<section id="net-gopher.examples">
|
||
|
&reftitle.examples;
|
||
|
<informalexample>
|
||
|
<programlisting role="php">
|
||
|
<![CDATA[
|
||
|
<?php
|
||
|
dl("gopher.so");
|
||
|
|
||
|
readfile("gopher://gopher.example.com/somedocument");
|
||
|
?>
|
||
|
]]>
|
||
|
</programlisting>
|
||
|
</informalexample>
|
||
|
</section>
|
||
|
</partintro>
|
||
|
|
||
|
&reference.net-gopher.functions;
|
||
|
|
||
|
</reference>
|
||
|
|
||
|
<!-- 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
|
||
|
sgml-parent-document:nil
|
||
|
sgml-default-dtd-file:"../../../manual.ced"
|
||
|
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
|
||
|
-->
|
||
|
|