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

search for in the

gopher_parsedir> <gnupg_verify
[edit] Last updated: Mon, 01 Nov 2010

view this page in

LII. Net_Gopher

Introdução

The gopher protocol, as defined by RFC 1436, 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 URL Wrappers, and provides a helper function gopher_parsedir() to make sense of gopher formatted directory listings.

Instalação

Net_Gopher is installed through the usual PECL package installation process.

  • Prerequisite: PHP 4.3.0.

  • $ pear install Net_Gopher

  • Copy the resulting gopher.so to an appropriate location and add extension=gopher.so to your php.ini file or load it dynamically in your PHP script using dl("gopher.so");

Configurações em execução

Esta extensão não define nenhum parâmetro de configuração no php.ini.

Tipos Resource

Esta extensão não possui nenhum tipo resource.

Constantes pré-definidas

Esta extensão não possui nenhuma constante.

Exemplos

<?php
dl
("gopher.so");

readfile("gopher://gopher.example.com/somedocument");
?>

Índice
gopher_parsedir -- Translate a gopher formatted directory entry into an associative array.


add a note add a note User Contributed Notes Net_Gopher
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites