//$page_title = "Redlands, CA LDS Temple"; //$meta_keywords = "Redlands, California, LDS Temples, weddings, gallery, portfolios, images, construction, photos, build, stake centers, dedication, family, open house"; //$meta_description = "Redlands Temple images - dt-photo.com - David Thomas Photography"; include("../functions.php"); top(); title("Engagement Portraits"); $photo_array = ""; $link_folder = "../images/engagement"; $contents = file ('http://dt-photo.com/images/engagement/?M=D'); while (list($line_num, $line) = each($contents)) { $link3 = substr((substr($line, 51)), 0, (strpos((substr($line, 51)), '"'))); if ((substr ($link3, 0, 2) == "t_")) { $photo_array .= " $link3"; } } $photos = explode(' ',$photo_array); $num = count($photos); ?>