|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-08 15:03 UTC] pajoye@php.net
[2009-07-08 15:13 UTC] trutas dot ctx at gmail dot com
[2009-07-08 15:15 UTC] trutas dot ctx at gmail dot com
[2009-07-08 15:18 UTC] pajoye@php.net
[2009-07-08 15:56 UTC] trutas dot ctx at gmail dot com
[2009-07-17 10:06 UTC] trutas dot ctx at gmail dot com
[2010-03-18 16:44 UTC] kalle@php.net
-Status: Open
+Status: Feedback
[2010-03-18 16:44 UTC] kalle@php.net
[2010-03-18 17:14 UTC] trutas dot ctx at gmail dot com
-Status: Feedback
+Status: Open
-PHP Version: 5.3.0
+PHP Version: 5.3.2
[2010-03-18 17:14 UTC] trutas dot ctx at gmail dot com
[2010-03-18 17:22 UTC] pajoye@php.net
-Status: Open
+Status: Bogus
[2010-03-18 17:22 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
Description: ------------ Access denied on a simple file_put_contents - the strange thing is vbscript test file on the same folder works - destination has everyone->modify/read/write. localhost/test.asp localhost/test.php i think it is not relevant but test.php and test.asp are located on the same \\share that we're trying to save the file to (but on a different folder). Apparently it works if we map this share to a local drive and use the local path (eg. E:\ ); file_get_contents works fine. We are using Windows 2003 Server x64, IIS 6.0, PHP 5.3RC04 x64 via MS FastCGI . Reproduce code: --------------- <?php file_put_contents("\\\\share\\intraroot$\\folder\\file.txt", "..."); ?> Expected result: ---------------- file saved with content "..." Actual result: -------------- PHP Warning: file_put_contents(\\share\intraroot$\folder\file.txt): failed to open stream: Permission denied in ...