236
edits
m (Correction of Mistake in .php code.) |
SaratogaWX (talk | contribs) m (Text replacement - "http://sandaysoft.com/forum/" to "https://cumulus.hosiene.co.uk/") |
||
(9 intermediate revisions by 4 users not shown) | |||
if(file_exists($file_url[$i])) { // cheap and cheerful existence check
$when=filemtime($file_url[$i]);
$this_output .= "<tr><td>" .($nickname[$i] ? $nickname[$i] : $file_url[$i]). "</td><td
} else { // the file is misnamed or not uploaded
$this_output .= "<tr><td
} // END existence check
} // END array loop
|Describe the use of the file. If you leave this blank it will use the filename as the description
|"My Realtime data"
OR ""
|-
|$freq[]
|How often would you expect the file to be updated. This is for your information only and is displayed on the page but does not have any affect on the code, "" = "Unknown"
|"15 seconds"
OR ""
|-
|$file_url[]
|the path to where the file is, relative to where this code is running ('''REQUIRED''')
|"./
OR "realtime.txt"
|}
=Example=
[http://www.weeleyweather.co.uk/index.php?page=serverstatus Server Status]
=Download Location=
You can download the latest and previous versions, directly from the forum [https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=1257&start=0 Sandaysoft Cumulus Forum]
[[Category:AddOns]]▼
|