Just delete the "glob" thing from _getFileList it finally works on my server.
PHP Code:
function _getFileList($directory, $file_ext) {
$file_list = array();
if ($za_dir = @dir(rtrim($directory, '/')))
{
while ($filename = $za_dir->read()) {
if (preg_match('/\.' . $file_ext . '$/i', $filename) > 0)
{
$file_list[] = $directory . $filename;
}
}
sort($file_list);
}
return $file_list;
}

Originally Posted by
Woodymon
Further testing shows the characters in the CAPTCHA image disappear after the verdana.TTF font is deleted AND when the three previously provided fonts (captcha_0.ttf...) are uploaded to the /fonts directory.
So that indicates the script is ndeed "seeing" the /fonts directory.
Wondering why the CAPTCHA characters don't display when the old fonts are installed but with no fonts installed, generic characters display.
Something is funky with this picture
Woody
Bookmarks