note 50601 added to function.fopen
| From: | nuno at ideianet dot pt | Date: | Fri, 04 Mar 2005 13:03:46 +0000 |
| Subject: | note 50601 added to function.fopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85917@lists.php.net to get a copy of this message | ||
In IIS you must add the group Authenticated Users with write and modify permissions in the file
where you want to write if you are in a Protected directory (Basic or Digest authentication) and
want to write to a file in a Unprotected directory (Anonymous Access) in order to get permission to
do that. Otherwise you will get the message: PHP Warning: fopen(x.txt): failed to open stream:
Permission denied in c:\web\x\x.php on line 3 PHP Warning: fwrite(): supplied argument is not a
valid stream resource in c:\web\x\x.php on line 10
----
Manual Page -- http://www.php.net/manual/en/function.fopen.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50601
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50601&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50601&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50601&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50601&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50601&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50601&report=yes
Search -- http://master.php.net/manage/user-notes.php