I am using this script below to list a directory of dates and within each directory I call a file gallery.php. I’m trying to have gallery.php display in another window - like a frameset “target = a new window” Is this possible?
Thank you for your help.
[php]<?PHP
//define the path as relative
$path = “./”;
//using the opendir function
$dir_handle = @OPENDIR($path) or DIE(“Unable to open $path”);
ECHO “Directory Listing of $path
”;
//running the while loop
WHILE ($file = READDIR($dir_handle))
if (($file != “.”) && ($file != “…”) && ($file != “jim.php”) &&
{
ECHO “$file
”;
}
//closing the directory
CLOSEDIR($dir_handle);
?> [/php]