All the html files were generated in php.
Here is the link to give an idea how does the html file look like http://www.nicpon.net/mAHuEGF.html .What I would need from that is bold name and then the rest of the info frm that product(all the fields under the product name). SO, if i could first take name and the rest of the info and insert it into new file with commas separated values(I can use csv since then i can easily import it into database and this way i dont have to worry about connnection frm the script) and then strip all the html. Or other way would be first take just the part of each html and insert it into new file since the product info is always starts with and ends with .
My other question is how do i get a list of all the files in the folder ??