diff --git a/appendices/ini.xml b/appendices/ini.xml index 0c23e87447..6056ff6970 100644 --- a/appendices/ini.xml +++ b/appendices/ini.xml @@ -1,5 +1,5 @@ - + &php.ini; directives @@ -36,7 +36,7 @@ PHP_INI_ALL in PHP <= 4.3.4. Available since PHP 4.0.4. - allow_url_include + allow_url_include "0" PHP_INI_SYSTEM Available since PHP 5.2.0. diff --git a/appendices/wrappers.xml b/appendices/wrappers.xml index 4d6eb3e899..c404ab98e9 100644 --- a/appendices/wrappers.xml +++ b/appendices/wrappers.xml @@ -1,5 +1,5 @@ - + List of Supported Protocols/Wrappers @@ -50,7 +50,7 @@ - Restricted by allow_url_fopen. + Restricted by allow_url_fopen No @@ -259,7 +259,7 @@ $result = file_get_contents('http://example.com/submit.php', false, $context); - Restricted by allow_url_fopen. + Restricted by allow_url_fopen Yes @@ -489,7 +489,7 @@ X-MyCustomHeader: Foo - Restricted by allow_url_fopen. + Restricted by allow_url_fopen Yes Yes @@ -788,9 +788,18 @@ echo stream_get_contents($fp); - Restricted by allow_url_fopen. + Restricted by allow_url_fopen No + + Restricted by allow_url_include + + php://input, + php://stdin, + php://memory and + php://temp only. + + Allows Reading @@ -894,7 +903,7 @@ echo stream_get_contents($fp); - Restricted by allow_url_fopen. + Restricted by allow_url_fopen No @@ -995,6 +1004,10 @@ echo $meta['mediatype']; Restricted by allow_url_fopen No + + Restricted by allow_url_include + Yes + Allows Reading Yes @@ -1099,7 +1112,7 @@ $stream = fopen("ssh2.tunnel://$session/remote.example.com:1234", 'r'); - Restricted by allow_url_fopen. + Restricted by allow_url_fopen Yes Yes Yes @@ -1314,7 +1327,7 @@ $stream = fopen("ssh2.tunnel://$session/remote.example.com:1234", 'r'); - Restricted by allow_url_fopen. + Restricted by allow_url_fopen No @@ -1457,7 +1470,7 @@ $stream = fopen("ssh2.tunnel://$session/remote.example.com:1234", 'r'); - Restricted by allow_url_fopen. + Restricted by allow_url_fopen No diff --git a/reference/filesystem/ini.xml b/reference/filesystem/ini.xml index 8316102251..61cf1026ce 100644 --- a/reference/filesystem/ini.xml +++ b/reference/filesystem/ini.xml @@ -1,5 +1,5 @@ - +
&reftitle.runtime; &extension.runtime; @@ -22,6 +22,12 @@ PHP_INI_SYSTEM PHP_INI_ALL in PHP <= 4.3.4. Available since PHP 4.0.4. + + allow_url_include + "0" + PHP_INI_SYSTEM + Available since PHP 5.2.0. + user_agent NULL @@ -95,6 +101,25 @@ + + + allow_url_include + boolean + + + + This option allows the use of URL-aware fopen wrappers with the following + functions: include, include_once, + require, require_once. + + + + This setting requires allow_url_fopen to be on. + + + + + user_agent