udhaney
06-21-2008, 02:01 PM
How to load ifame to flash dynamic text
udhaney
06-21-2008, 02:21 PM
<?php
$url = 'http://www.meteorology.gov.mv/?PD=WEATHER';
$lines_array = file($url);
$lines_string = implode('', $lines_array);
eregi("<td width=\"547\" class=\"xtable\">(.*)<td class=\"xtable\">Winds", $lines_string, $mydata);
eregi("<span class=\"textdBlueNorm12\">(.*)</span></p>", $lines_string, $mydata1);
?>
<div class="updatetxt"><?php echo $mydata1[1]; ?></div>
<div class="txt"><?php echo $mydata[1]; ?></div>
<div class="txt1">Powered by <a href="http://www.meteorology.gov.mv/">http://www.meteorology.gov.mv/</a></div>
demo of php
http://live.mv/moosun.php
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.