|
Display Value (ie 28.3) dynamically in web page
hi
I run a small embedded linux web site and as such does not have sql / php. It runs thhtpd a thin web server
I monitor various values, eg temperatures, humidity etc and I want to be able to display these values in a html page without using cgi.
I was thinking that for every value it could be ie 27.1, 27.2 -->33.0 I could create a simple image file containing the value as text. Then when I read the value every 5 minutes I could just copy the relevant image file into a temp image the web page links to. This seems a horrible way of doing it as I need to create about 100 image files.
I did try using linux "sed" and search and replace the data in the html file however had trouble with sed changing the file permissions and no longer being able to display the web page.
Is there any easy way of getting java or flash or ?? text on the web page to read a value from a script file on the server and display it, without using cgi. I have tried a couple of stock tickers however these assume you run php and sql
cheers rob
|