RE: [PHP] fopen() ??
| From: | Jay Blanchard | Date: | Wed, 10 Jul 2002 15:12:11 +0000 |
| Subject: | RE: [PHP] fopen() ?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106827@lists.php.net to get a copy of this message | ||
[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