[ next ]


[page 1]
[ home ]
d (); $typelist = array("jpg","jpeg","gif","png"); $imagelist = array(); $title = "the showroom"; $stylesheet = "" ; $home = "back"; //--- ind is put to zero when the script is first called uppon--- if(!isset($HTTP_GET_VARS['ind'])) { $ind = 0; } else{ $ind = $HTTP_GET_VARS['ind']; } $index = $ind; //---the following code iterates through the directory and puts any image found in the imagelist array--- $dp=opendir($currentdir); while ( false != ( $file=readdir($dp) ) ) { if (is_file($file) && $file!="." && $file!=".."){ $extention = explode(".",$file); $extention = $extention['1']; if( in_array($extention,$typelist) ){ array_push ($imagelist,$file); } } } ?> the showroom
[ next ]


[page 1]
[ home ]