12
edits
Gemini06720 (talk | contribs) |
Gemini06720 (talk | contribs) No edit summary |
||
{{AddOnBanner|name=PHP Webtags|type=Web templates, PHP|author=Ray Beriau|contact='gemini06720' via forum|updated=26 Jan 2010|version=1.11}}
Cumulus automatically prepares a number of
For those using PHP on their website it is possible to have Cumulus process one single file and place all the [[webtags]] values
The PHP file contains all current [[webtags]] produced by Cumulus.
=Usage=
Use the PHP [http://www.w3schools.com/PHP/php_includes.asp include
All PHP variable names are identical to their
=Example=
A simple PHP file
<pre>
<?php
require_once("cumuluswebtags.php");
echo $time
echo "<br/>";
Echo "The current forecast is " . $forecast;
?>
</pre>
The results:
<pre>
The current forecast is Precipitation, very unsettled
</pre>
=Debugging=
If you wish to view all the values contained
Example
www.myweathersite.com/cumuluswebtags.php?source=view
This will
[[Category:AddOns]]
|
edits