fopen wrappers configuration has changed

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@33784 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hartmut Holzgraefe 2000-10-13 00:05:57 +00:00
parent 24ab3456ff
commit e789fee4bb
3 changed files with 35 additions and 1 deletions

View file

@ -85,6 +85,30 @@
<para>
<variablelist>
<varlistentry id="ini.allow-url-fopen">
<term>
<parameter>allow_url_fopen</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
This option enables the URL-aware fopen wrappers that enable accessing URL object
like files. Default wrappers are provided for the access of
<link linkend="features.remote-files">remote files</link>
using the ftp or http protocol, some extensions like zlib may register additional wrappers.
</para>
<note>
<para>
This option was introduced immediately after the release of version 4.0.3. For versions up to
and including 4.0.3 you can only disable this feature at compile time by using the configuration switch
<link linkend="install.configure.disable-url-fopen-wrapper"><parameter>--disable-url-fopen-wrapper</parameter></link>.
</para>
</note>
</listitem>
</varlistentry>
<varlistentry id="ini.asp-tags">
<term>
<parameter>asp_tags</parameter>

View file

@ -2121,6 +2121,14 @@
PHP 3, PHP 4: Disable the URL-aware fopen wrapper that allows accessing
files via http or ftp.
</para>
<warning>
<para>
This switch is only available for PHP versions up to 4.0.3, newer
versions provide an INI parameter called
<parameter>allow_url_fopen</parameter> instead of forcing you to
decide upon this feature at compile time.
</para>
</warning>
</listitem>
</varlistentry>

View file

@ -4,7 +4,9 @@
<para>
As long as support for the &quot;URL fopen wrapper&quot; is enabled when
you configure PHP (which it is unless you explicitly pass the
<option>--disable-url-fopen-wrapper</option> flag to configure),
<option>--disable-url-fopen-wrapper</option> flag to configure (for versions
up to 4.0.3) or set <parameter>allow_url_fopen</parameter> to off in php.ini
(for newer versions),
you can use HTTP and FTP URLs with most functions that take a
filename as a parameter, including the <function>require</function>
and <function>include</function> statements.