Re: fopen() ??
| From: | Scott Fletcher | Date: | Wed, 10 Jul 2002 15:18:26 +0000 |
| Subject: | Re: fopen() ?? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106830@lists.php.net to get a copy of this message | ||
Thanks a million!!!
"Jay Blanchard" <jay.blanchard@niicommunications.com> wrote in message
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
>
>