<?php
include_once 'weather.php';
$w = new weather();
$w->setLocation('NY', 'New York');
$w->setLang(EN);
echo $w->getLocation();
echo '<br/>';
echo $w->getWeatherIcon(true);
echo '<br/>';
echo $w->getTemperature();
echo ' C';
echo '<br/>';
echo $w->getSateliteImage(true);
?>
|