features/remote-files.xml
a0ae28d3bc85f927c22649ebd9a590b921534b7d
...
...
@@ -10,30 +10,11 @@
10
10
that take a filename as a parameter. In addition, URLs can be
11
11
used with the <function>include</function>,
12
12
<function>include_once</function>, <function>require</function> and
13
-
<function>require_once</function> statements (since PHP 5.2.0,
14
-
<option>allow_url_include</option> must be enabled for these).
13
+
<function>require_once</function> statements
14
+
(<option>allow_url_include</option> must be enabled for these).
15
15
See <xref linkend="wrappers"/> for more information about the protocols
16
16
supported by PHP.
17
17
</para>
18
-
<note>
19
-
<para>
20
-
In PHP 4.0.3 and older, in order to use URL wrappers, you were required
21
-
to configure PHP using the configure option
22
-
<option>--enable-url-fopen-wrapper</option>.
23
-
</para>
24
-
</note>
25
-
<para>
26
-
<note>
27
-
<para>
28
-
The Windows versions of PHP earlier than PHP 4.3
29
-
did not support remote file accessing for the following functions:
30
-
<function>include</function>, <function>include_once</function>,
31
-
<function>require</function>, <function>require_once</function>,
32
-
and the imagecreatefromXXX functions in the <xref linkend="ref.image"/>
33
-
extension.
34
-
</para>
35
-
</note>
36
-
</para>
37
18
<para>
38
19
For example, you can use this to open a file on a remote web server,
39
20
parse the output for the data you want, and then use that data in a
40
21