|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-10-03 06:00 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2016-10-03 06:00 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 19:00:01 2026 UTC |
Description: ------------ Following is my code <?php ini_set('display_errors',1); error_reporting(E_ALL); echo file_get_contents("//TEST-WEB//wwwroot//cache//1.txt"); ?> when I run above code it will show following error Warning: file_get_contents(//TEST-WEB//wwwroot//cache//1.txt): failed to open stream: Permission denied in C:\inetpub\wwwroot\DevelopmentSource\test.php on line 8 Note: //TEST-WEB//wwwroot//cache//1.txt is network path Expected result: ---------------- The script should display content of file 1.txt Actual result: -------------- It shows follwing warning error message Warning: file_get_contents(//TEST-WEB//wwwroot//cache//1.txt): failed to open stream: Permission denied in C:\inetpub\wwwroot\DevelopmentSource\test.php on line 8