PDA

View Full Version : Export text from text file



.Alex
September 3rd, 2004, 09:44 AM
Hello,

Is there a way to export text from a normal .txt file and put it into a webpage using PHP. So you only have to update the text file not the actual webpage.

If this is possible, please can you give me some information about how I might do this.

Thanks in advance.

andr.in
September 3rd, 2004, 09:46 AM
Of crouse you can...

You want to use fopen() to open the file, fread() to read the data and fclose() to close the file... search for tutorials... there are loads