Re: file_put_contents() / file_add_contents() ?
| From: | Dirkjan Ochtman | Date: | Fri, 21 Feb 2003 10:54:42 +0000 |
| Subject: | Re: file_put_contents() / file_add_contents() ? | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94431@lists.php.net to get a copy of this message | ||
That's like one of those functions I've written myself and have to include
in about every project I write...
I think it's a Good Thing.
Regards,
Dirkjan Ochtman
"Sascha Schumann" <sascha@schumann.cx> wrote in message
news:Pine.LNX.4.53.0302211108540.324@eco.foo...
> > I meant a *plain* file_put_contents:
>
> That must be one of the most useless function proposals I've
> seen so far.
>
> Now, if the function could atomically replace file contents,
> then it would be something entirely different.
>
> But a simple wrapper for a two-line fopen/fputs? Get real.
>
> - Sascha