$file_open = fopen($file_name, w);
this will empty the existing file contents then write to the file
Jas [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Not sure how I could do this as I could not find a functions on php.net to
allow me to first delete the
http://www.php.net/manual/en/function.ftruncate.php
Chris writes:
I've created a program that runs a process then stores the results to a
file on the server. I would like the file to contain only the most
recent update, but it seems I can only append to my using fopen. Is
there a way
2 matches
Mail list logo