Sensor Contact PHP

Revision as of 19:50, 1 November 2018 by Mcrossley (talk | contribs)
Name: SensorContact
Type: HTML & PHP
Author: Jason Duncombe
Contact: 6719jason via Forum
Last update: 13th Jan 2010
Version: 1.0

Sensor Contact shows the if Contact with the External Weather Station Sensors has been lost or established.

You will need to be uploading the Php_webtags PHP Webtags to use this script.

This script relies on PHP so your webserver must support it (The majority of hosted servers do. If you are running your own webserver you many need to install and configure it)

Installation

Download SensorContact.txt and rename it to sensorcontact.php

Configuration

Open Sensorcontact.php in a Text Editor (Notepad+, gEdit) and ensure that the following line refers to the location of your cumuluswebtags.php -- <?php require_once ("./cumuluswebtags"); -- Make any changes to its location and save. Ensure you do not change the php extension to anything else but php.

Upload the file to your website directory.

Open up a web browser and navigate to http://yourwebsite/sensorcontact.php and you should see the output of the Script - If you do not, you have not correctly configured the location of cumuluswebtags.php or your server does not support php or you have not navigated to the correct file.

If all displays correctly, Use the following code on your webpage to include the output on your website -- <?php require_once ("./sensorcontact.php"); ?>

Example

Sensor Contact Test Page

Download Location

You can download the latest and previous versions, directly from the forum Sensor Contact TXT