Name == "MSIE" && $br->Version >= 6); /* Additional information */ $send = $_POST['send']; $popup = $_GET['popup']; $procreate = $_GET['procreate']; /* Print a random image name, with its 'image/' prefix. */ $imagelist = array(); $dh = opendir('images/'); while(($file = readdir($dh)) != false) { $ext = substr($file, -3); if($ext == 'jpg' || $ext == 'gif') { $imagelist[] = $file; } } closedir($dh); function random_image() { global $imagelist; echo 'images/'.$imagelist[rand(0,count($imagelist)-1)]; } function hey_everybody() { ?>