diff --git a/chapters/config.xml b/chapters/config.xml index 4ac45eb635..38c44a9018 100644 --- a/chapters/config.xml +++ b/chapters/config.xml @@ -1,5 +1,5 @@ - + Configuration @@ -169,6 +169,14 @@ linkend="install.configure.disable-url-fopen-wrapper">--d isable-url-fopen-wrapper. + + + On Windows, the following functions do not support remote file + accesing: include, + include_once, require and + require_once. + + diff --git a/features/remote-files.xml b/features/remote-files.xml index b1be14555b..f1e55df330 100644 --- a/features/remote-files.xml +++ b/features/remote-files.xml @@ -1,5 +1,5 @@ - + Using remote files @@ -16,8 +16,10 @@ - You can't use remote files in include and - require statements on Windows. + The Windows version of PHP currently does not support + remote file accessing for the following functions: + include, include_once, + require and require_once. diff --git a/language-snippets.ent b/language-snippets.ent index ebea4ac7d2..a336dba3f2 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -17,6 +17,12 @@ warned and use this function at your own risk.'> currently not documented; only the argument list is available.'> +The Windows +version of PHP currently does not support remote +file accessing for this function, even if +allow_url_fopen is enabled. +'> + As with anything that outputs its result directly to the browser, you can use the output-control functions to capture diff --git a/language/control-structures.xml b/language/control-structures.xml index b937cc63e1..877774da1e 100644 --- a/language/control-structures.xml +++ b/language/control-structures.xml @@ -1,5 +1,5 @@ - + Control Structures @@ -1077,6 +1077,7 @@ require ('somefile.txt'); require itself happens only once. + &warn.no-win32-fopen-wrapper; See also include, require_once, include_once, eval, @@ -1191,6 +1192,7 @@ echo "A $color $fruit"; // A green being run on the remote server and the result is then being included into the local script. + &warn.no-win32-fopen-wrapper; <function>include</function> through HTTP @@ -1355,6 +1357,7 @@ echo $bar; // prints 1 require_once was added in PHP 4.0.1pl2 + &warn.no-win32-fopen-wrapper; See also: require, include, include_once, @@ -1392,6 +1395,7 @@ echo $bar; // prints 1 include_once was added in PHP 4.0.1pl2 + &warn.no-win32-fopen-wrapper; See also include, require, require_once,