Re: Writing to a text file
| From: | Radovan Radic | Date: | Fri, 10 Jan 2003 12:13:47 +0000 |
| Subject: | Re: Writing to a text file | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17749@lists.php.net to get a copy of this message | ||
$fp=fopen("file.log","a+");
fputs($fp,"message...\n");
fclose($fp);
"James Meers" <jambo@venda.com> wrote in message
news:CB8DA9AF0B85D948B7A3F404B49C02A719A7CD@vendac01.uk.venda...
Hi,
I want to create a sort of log/text file, everytime I run a query or
something I would like to write/append it to a text file. Does anyone
know what function I can use for this? Or even any examples?
Cheers
James