RE: [PHP] text file reading and overwrite

2003-02-24 Thread Matt Honeycutt
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 Mes

Re: [PHP] text file reading and overwrite

2003-02-24 Thread Patrick Teague
> 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. For type text boxes, use the following - $var Please note that if you include *any* kind of spaces or tabs or other characters between the textare