I am trying to simply convert a bunch on .txt files to .html files by pasting a header and footer to the txt file content and resaving as .html.
I wrote a script in PHP to do it, but with 28,000 files to convert it would be a fairly lengthly task to ftp all the files up and then back down.
I have read how to open and save a file, but is it possible to read and loop through a directory of files?
sorry total newbie question..
rootdog