RE: [PHP] fopen problem
| From: | Shaw, Chris - Accenture | Date: | Fri, 24 Jun 2005 15:38:01 +0000 |
| Subject: | RE: [PHP] fopen problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-217550@lists.php.net to get a copy of this message | ||
Are you using the a or a+ modes on fopen, because I have a sneaky feeling the
file doesn't exist.
-----Original Message-----
From: Ross [mailto:ross@aztechost.com]
Sent: 24 June 2005 00:33
To: php-general@lists.php.net
Subject: [PHP] fopen problem
*************************************
This e-mail has been received by the Revenue Internet e-mail service.
*************************************
I have a bit of a problem when using fopen, fwrite and fclose locally I get
the flowing warnings
Warning: fopen(counterlog.txt) [function.fopen]: failed to open stream:
Permission denied in c:\Inetpub\wwwroot\pillars\index.php on line 30
Warning: fwrite(): supplied argument is not a valid stream resource in
c:\Inetpub\wwwroot\pillars\index.php on line 33
Warning: fclose(): supplied argument is not a valid stream resource in
c:\Inetpub\wwwroot\pillars\index.php on line 36
Any ideas??
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
************************
This message has been delivered to the Internet by the Revenue Internet e-mail service
*************************