|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-03-26 01:00 UTC] tony2001@php.net
[2006-03-26 03:27 UTC] php-bugs at t43 dot mine dot nu
[2006-03-26 03:28 UTC] php-bugs at t43 dot mine dot nu
[2006-04-03 17:58 UTC] vrana@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 18 11:00:01 2025 UTC |
Description: ------------ As I set allow_url_fopen=Off,the stream prefix file:// is not accepted. In addition, relative paths do not work with allow_url_fopen=On. i.e. require('file://include.inc.php') obtains an error, but require('file://c:/mydirectories/public/include.inc.php') does work perfectly. The error message to require('file://include.inc.php') is: Warning: require() [function.require]: remote host file access not supported, file://include.inc.php in C:\mydirectories\public\myscript.php on line 999 Reproduce code: --------------- require('file://include.inc.php'); Expected result: ---------------- same as when doing require('include.inc.php'); and additionally no matter if allow_url_fopen=On/Off