Thanks for your help.
I tried your suggestion and got this response:
Parse error: syntax error, unexpected '{' in /home/eyesix2/public_html/gallery/util.php on line 360
Here is the rest of the surrounding code
function acceptableMovieList() {
return array('avi', 'mpg', 'mpeg', 'wmv', 'mov', 'swf', 'mp4');
}
function acceptableImageList() {
return array('jpg', 'jpeg', 'gif', 'png');
}
function acceptableFormatList() {
return array_merge(acceptableImageList(), acceptableMovieList());
}
function isImage($tag) {
return in_array($tag, acceptableImageList());
}
function isMovie($tag) {
return in_array($tag, acceptableMovieList());
}
function getFile($fname, $legacy=false) {
$tmp = "";
if (!fs_file_exists($fname) || broken_link($fname) {
return $tmp;
}
if ($legacy) {
$modes = "rt";
} else {
$modes = "rb";
}
if ($fd = fs_fopen($fname, $modes)) {
while (!feof($fd)) {
$tmp .= fread($fd, 65536);
}
fclose($fd);
}
return $tmp;
}
function dismissAndReload() {
if (isDebugging()) {
echo "\n<body onLoad='opener.location.reload();'>\n";
echo '<p align="center" class="emphasis">';
echo _("Not closing this window because debug mode is on") ;
echo "\n<hr>\n</p>";
echo "\n</body>";
} else {
echo "<body onLoad='opener.location.reload(); parent.close()'>
Please let me know if this helps or if you have any other suggestions. Does anything else look odd? Again I appreciate your help.