a php script (similar to a web service) to convert a postgresql time series table (needs to meet certain criteria) to a text table (html or csv) with filter criteria given as url arguments