I have multiple hidden files in a directory and would like to open and/or cat each one of them, extract each value and display on a web page. Each file has a value already embedded in a format I need. So no need to parse anything except grab the value from the file.
I would like your input on a good programmatic approach to doing this either using perl or php. Would it be best to do it all in php or use both? How would you do it? Thanks for your input.
The files are named like so:
.stat_run_dir
.stat_file_sent.domain1
.stat_file_sent.domain2
Values would look like this respectively:
/absolute/path/category/testfeed_dom_2010120806.abc
domain1_sub.dat.2010120804.abc
domain2_sub.dat.2010120805.abc