Sensor Contact PHP: Difference between revisions
(Created page with '{{AddOnBanner|name=SensorContact|type=HTML & PHP|author=Jason Duncombe|contact=6719jason via Forum|updated=13th Jan 2010|version=1.0}} <big>Sensor Contact</big> shows the if Cont…') |
SaratogaWX (talk | contribs) m (Text replacement - "http://sandaysoft.com/forum/" to "https://cumulus.hosiene.co.uk/") |
||
(4 intermediate revisions by 3 users 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 24: | Line 24: | ||
=Example= |
=Example= |
||
[http://www. |
[http://www.weeleyweather.co.uk/sensorcontact.php Sensor Contact Test Page] |
||
=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: |
[[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