right so im in the midst of creating a gallery for a friend of mine, i
have most of it right, but when i get the file names from the directory
and into an array i have the ".." and "..." as the first two elements,
any ideas?
my getImages functions is simply as follows:
#PHP
function getImages()
{
global $images;
$mydir = opendir(images) ;
for($i=0; $i<10; $i++)
{
$entryname = readdir($mydir) ;
$images[] = $entryname;
echo("<br>");
}
#PHP
Comment