Date: 07/29/05 (PHP Community) Keywords: php, html, web Right, $d = opendir("/home/james/sites/fourworldtheo while(false !== ($f = readdir($d))) { if($f == "." || $f == "..") continue; print("\t . str_replace("50", "lg", $f) . "\"> alt=\"\"/>\n"); } ?> Click to enlarge if(isset($_GET["img"]) && file_exists("/home/james/sites/fourworld print(""); }?> Note: a friend helped me with the php, still very much a beginner myself Source: http://www.livejournal.com/community/php/326225.html
|