I can't tell you anything about your problem without knowing what's
going on (error messages are helpful).  As for overwriting a file, just
use: fopen($filename,"w");

The "w" option tells it to open the file for writing and to truncate it
to zero-length.

---Matt, XPODesigns.com

-----Original Message-----
From: Michael P. Carel [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 24, 2003 7:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] text file reading and overwrite

Hi,

Have a problem in reading a text file and displaying it in a text box
area,also what function should i used to overwrite an existing text
file.

mike


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to