Hi, I have a list of about 400 cities I need to convert into html or actually php files. Is there an app or a way to do this on the fly? thanks, Nigel
I don't require layout, I need to convert a list of cities in a txt document into separate blank html files. Pushing data to them on the fly is not a problem. I can use this http://www.ecobyte.com/replacetext/ for the latter. thanks though, Nigel
Are you OK with using PHP Nigel? If the city list you have is newline delimited, I would do something like this: $fileName = 'citlist.txt'; $content = file_get_contents($fileName); $tempLines = explode("\n",$content); $countLines = count($tempLines); for($x=0;$x<$countLines;$x++) { touch($countLines[$x].'.html'); } PHP: This will simply create file names based on the city name: Brooklyn.html, Detroit.html, etc.. There are other efficient file read for newlines, I just used the above so you can tweet it around in the event you are using a different delimiter.