You need to have permission to write to the file. Might I also suggest that
you include the full path to the file.

-----Original Message-----
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 10:34 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] fopen() ??


That doesnt' work!  Never mind!  I'll manually create a blank file and put
it there!

"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks a million!!!
>
> "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
> 002401c22824$2b1e87b0$8102a8c0@niigziuo4ohhdt">news:002401c22824$2b1e87b0$8102a8c0@niigziuo4ohhdt...
> > [snip]
> > Didn't I read the article somewhere on PHP.net that said that?  Using
> > fopen() to open a file, does it attempt to create a file if the file
does
> > not exist?  I use the fopen() and I get the error message.  What is the
> > workaround to it?
> > [/snip]
> >
> > fopen("filename", "w+"); open the filename or create if it does not
exist.
> > http://www.php.net/manual/en/function.fopen.php
> >
> > HTH!
> >
> > Jay
> >
> >
>
>



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





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

Reply via email to