I didn't see it on the fopen manual page at:
http://www.php.net/fopen
If you just want to write to the file and not read it, try changing the second
parameter to just "w".
On Mon, 2003-02-10 at 03:34, Joe Njeru wrote:
Hi All,
I need to write some data to a text file but when I use
$this->ao_file_handle = fopen($this->ao_file_name,"ab");
$str_txt.= "\n";
fwrite($this->ao_file_handle,$str_txt);
It does not display the new line. I saw somwhere that for DOS files you need
to use ASCII LF and CR. Which I did. It still does not display the new line.
Thanks in advance
Joe Njeru
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc |
signature.asc
Description: This is a digitally signed message part