Topic awaiting preservation: How do I retrieve the last line of a file? |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
posted 11-06-2009 17:18
I go through a file using |
Nervous Wreck (II) Inmate From: |
posted 01-13-2010 14:22
If you want to append a new line, you simply open the file in append mode, $fh = fopen($myFile, 'a'); |