Hi all
I want to create a web page that shows traffic light type boxes depending on a trigger in an input file. In a directory on the server will be 1 file per process. The page needs to create a box that is coloured dependant on a string if found in the file.
so directory would look like \status\ .In status we would have \status\processa.txt status\processb.txt processa.txt and \status\processb.txt would contain on line 1 the name of the process, line 2 the time of the update line 3 the status, running, failed, completed, dependant upon the status, I then want to colour the box.
Where do i start ?
Thanks
Gary
Adobe DreamweaverWeb Applications
Last Comment
123dec45
8/22/2022 - Mon
zhuba
If you're using a server-side script like php or asp then you can open these files directly and check them at parse-time.
Do you have php or asp on your server?
123dec45
ASKER
nope, no php nor asp any other way ?
Thanks
Gary
zhuba
It is possible to access files with javascript using AJAX and then read the contents on the clients machine.
Check out the following links for how to use AJAX:
sorry been away for some time, and this has just come back on the Radar.
Nope thats not going to work. You mentioned earlier about using ASP, would that be easier ?
Cheers
123dec45
ASKER
Thanks Very much, sorry its taken so long to close this, usual thing spend the whole month firefighting problems.
regards
gary
Do you have php or asp on your server?