$idx = $_REQUEST["idx"]; $self = 'http://' . $_SERVER[HTTP_HOST] . $_SERVER['PHP_SELF']; $lines = file("albimages.txt"); $last_idx = -1; $up_url = array_shift($lines); foreach ($lines as $line) { $last_idx++; $f = split("@", $line, 10); if ( $last_idx == $idx ) { $imagefile = $f[0]; $orientation = $f[1]; $titlecaption = $f[2]; $caption = $f[3]; $caption_simple = preg_replace("/<.*?>/", "", $caption); $page_title = $f[4] ? $f[4] : "$titlecaption"; $image_alt = $f[5] ? $f[5] : "$caption_simple"; $page_kywd = $f[6] ? $f[6] : "$caption_simple"; $page_desc = $f[7] ? $f[7] : "$caption_simple"; $copyright_zt = "Dr. Zoltan Takacs."; $copyright = $f[8] ? $f[8] : "$copyright_zt"; } } ?>
Keywords: Photo: All Rights Reserved. Licensing contact: Zoltan Takacs |