note 50193 deleted from function.fopen by rasmus
| From: | rasmus@php.net | Date: | Mon, 27 Feb 2006 07:50:47 +0000 |
| Subject: | note 50193 deleted from function.fopen by rasmus | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-104471@lists.php.net to get a copy of this message | ||
Note Submitter: nuno at ideianet dot pt
----
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