Date: 10/12/00
- Next message: Hartmut Holzgraefe: "[PHP-DOC] cvs: phpdoc /en/functions zlib.xml"
- Previous message: Derick Rethans: "[PHP-DOC] Building the docs on OpenBSD 2.7"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
hholzgra Thu Oct 12 17:05:57 2000 EDT
Modified files:
/phpdoc/en/chapters install.xml config.xml
/phpdoc/en/features remote-files.xml
Log:
fopen wrappers configuration has changed
Index: phpdoc/en/chapters/install.xml
diff -u phpdoc/en/chapters/install.xml:1.18 phpdoc/en/chapters/install.xml:1.19
--- phpdoc/en/chapters/install.xml:1.18 Tue Oct 10 21:43:18 2000
+++ phpdoc/en/chapters/install.xml Thu Oct 12 17:05:56 2000
@@ -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>
Index: phpdoc/en/chapters/config.xml
diff -u phpdoc/en/chapters/config.xml:1.8 phpdoc/en/chapters/config.xml:1.9
--- phpdoc/en/chapters/config.xml:1.8 Sat Sep 9 19:58:49 2000
+++ phpdoc/en/chapters/config.xml Thu Oct 12 17:05:56 2000
@@ -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>
Index: phpdoc/en/features/remote-files.xml
diff -u phpdoc/en/features/remote-files.xml:1.5 phpdoc/en/features/remote-files.xml:1.6
--- phpdoc/en/features/remote-files.xml:1.5 Mon Jul 31 02:53:36 2000
+++ phpdoc/en/features/remote-files.xml Thu Oct 12 17:05:57 2000
@@ -4,7 +4,9 @@
<para>
As long as support for the "URL fopen wrapper" 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.
- Next message: Hartmut Holzgraefe: "[PHP-DOC] cvs: phpdoc /en/functions zlib.xml"
- Previous message: Derick Rethans: "[PHP-DOC] Building the docs on OpenBSD 2.7"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

