Re: fopen() ??

From: Date: Wed, 10 Jul 2002 15:33:52 +0000
Subject: Re: fopen() ??
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-106838@lists.php.net to get a copy of this message
That doesnt' work! Never mind! I'll manually create a blank file and put it there! "Scott Fletcher" <scott@abcoa.com> wrote in message news:20020710151510.89444.qmail@pb1.pair.com... > 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 > > > > > >

« previous php.general (#106838) next »