note 50193 added to function.fopen
| From: | nuno at ideianet dot pt | Date: | Mon, 21 Feb 2005 17:38:04 +0000 |
| Subject: | note 50193 added to function.fopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85315@lists.php.net to get a copy of this message | ||
In IIS you must add the user IUSR_yourservername (Internet Guest Account) with write and modify
permissions in the file where you want to write 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+50193
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50193&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50193&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50193&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50193&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50193&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50193&report=yes
Search -- http://master.php.net/manage/user-notes.php