updated removed
[home-automation.git] / weather5.php
1 <br>
2    Nation wide Lightning Strike Count<br>
3     <table WIDTH="640" BORDER="0" CELLSPACING="0" CELLPADDING="0" width="75%">
4                                                         <tr>
5     <?
6     #$data=file_get_contents("https://thunderstorm.vaisala.com/tux/jsp/explorer/explorer.jsp");
7     #preg_match_all("/img src=\"(.*\.jpg)\?bar=(.*)\"/i", $data, $matches);                       
8     #$items=split("=", $matches[0][0]);
9     #$item=split("\"",$items[2]);
10     #$url="https://thunderstorm.vaisala.com/jsp/explorer/images/lts-image.jpg?bar=" . $item[0];
11     $url="http://thunderstorm.vaisala.com/explorer_files/lts-image.jpg";
12     ?>
13     <img SRC="<? echo $url ?>" HSPACE="0" VSPACE="0" BORDER="0" alt="Lightning Map" width="75%">
14     </td>
15     </tr>
16     </table>
17 <?php 
18   include("weather-footer.php");
19 ?>