Re: Re: fwrite/fclose troubles
| From: | Mark Weaver | Date: | Sat, 22 Mar 2008 14:42:30 +0000 |
| Subject: | Re: Re: fwrite/fclose troubles | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271970@lists.php.net to get a copy of this message | ||
Al wrote:
int file_put_contents ( string $filename, mixed $data [, int $flags [, resource $context]] ) This function is identical to calling fopen(), fwrite() and fclose() successively to write data to a file. This native function does it for youVery nice! I wasn't aware of this one. Thank you!! Mark