Adding Data to web page

R

Ray Jeffery

Hi,

I send weather reports to various people over the internet using software
and files supplied by Davis. I would like to add data to the web page that
is on a notebook file that is sent over to the server at the same time. Can
you link a file in the same way as you can a GIF ie img src. Would
appreciate some guidence on this. The notebook file would just have a
temperature and nothing else.

Ray
 
R

Ronx

If the server supports SSI (Server Side Includes) or ASP add the
following to the page where you want the data to appear:

<!-- #include virtual="/path/to/temperature.txt" -->

where temperature.txt is the text file to be included, and is in the
folder designated by /path/to (where path starts at the root of
the web site.)

The page must be named to suit the server - page.asp if ASP is
supported, or page.shtm or page.shtml otherwise.
There are also PHP and Perl solutions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top