RE: [PHP] Help with files
| From: | Martin Towell | Date: | Mon, 02 Feb 2004 03:50:45 +0000 |
| Subject: | RE: [PHP] Help with files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-176556@lists.php.net to get a copy of this message | ||
Instead of using "r+", use "w"
This will clear the file for you :)
> -----Original Message-----
> From: Mr. Austin [mailto:MrAustin@mn.rr.com]
> Sent: Monday, 2 February 2004 1:51 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Help with files
>
>
> I'm not entirely sure why it is that you assume I did not
> read the manual or
> the online documentation (which is very thorough). I'll find
> my answers
> elsewhere.
>
> Thank you,
> Mr. Austin
>
> ----- Original Message -----
> From: "Jason Wong" <php-general@gremlins.biz>
> To: <php-general@lists.php.net>
> Sent: Sunday, February 01, 2004 8:43 PM
> Subject: Re: [PHP] Help with files
>
>
> > On Monday 02 February 2004 10:33, Mr. Austin wrote:
> >
> > > $buff = fopen("sample.txt", "r+");
> > ^
> > -------------------------------+
> >
> > RTFM to see what other options you can use.
> >
> > --
> > Jason Wong -> Gremlins Associates -> www.gremlins.biz
> > Open Source Software Systems Integrators
> > * Web Design & Hosting * Internet & Intranet Applications
> Development *
> > ------------------------------------------
> > Search the list archives before you post
> > http://marc.theaimsgroup.com/?l=php-general
> > ------------------------------------------
> > /*
> > Give your very best today. Heaven knows it's little enough.
> > */
> >
> > --
> > 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
>