))[']?/i"; preg_match_all($pattern, $data, $matches); // Pull all matches // Get rid of href=" and "> in a loop of ALL images.... foreach($matches[0] as $value) { $matches[0][$i] = str_replace('href="', '', $value); $matches[0][$i] = str_replace('">', '', $matches[0][$i]); // Get the total number of items in loop $total = $total + 1; $i++; } // Set the image numbers in the array $img1 = $total - 8; $img2 = $total - 7; $img3 = $total - 6; $img4 = $total - 5; $img5 = $total - 4; $img6 = $total - 3; $img7 = $total - 2; $img8 = $total - 1; ?>
GOES-EAST - North America Visible Satellite
GOES-EAST Full Disk View
Photo compliments of SSEC