okay i got it all down now what script i want to use but im having trouble incorporating the photos with the script itself
function getImageArray()
{
$images = array();
$cwd = getcwd();
chdir($_SERVER['DOCUMENT_ROOT']);
$images = glob($this->imageDir.'/*.{'.$this->suffixes.'}', GLOB_BRACE);
chdir($cwd); // back to original directory
return($images);
}
thats teh script from charles reace's website but if i were to have photos stored in a photo in a database with more information. how would i incorporate that into the script?