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:[EMAIL PROTECTED]
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

*************************

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to