Sensor Contact PHP: Difference between revisions
No edit summary |
SaratogaWX (talk | contribs) m (Text replacement - "http://sandaysoft.com/forum/" to "https://cumulus.hosiene.co.uk/") |
||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
<big>Sensor Contact</big> shows the if Contact with the External Weather Station Sensors has been lost or established. |
<big>Sensor Contact</big> shows the if Contact with the External Weather Station Sensors has been lost or established. |
||
You will need to be uploading the [ |
You will need to be uploading the [[Php_webtags|PHP Webtags]] to use this script. |
||
This script relies on [http://www.php.net/ 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) |
This script relies on [http://www.php.net/ 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) |
||
Line 28: | Line 28: | ||
=Download Location= |
=Download Location= |
||
You can download the latest and previous versions, directly from the forum [ |
You can download the latest and previous versions, directly from the forum [https://cumulus.hosiene.co.uk/download/file.php?id=1501 Sensor Contact TXT] |
||
[[Category:WebTools]] |
[[Category:WebTools]] |
Latest revision as of 15:51, 2 November 2018
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 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
Download Location
You can download the latest and previous versions, directly from the forum Sensor Contact TXT