Posted by SF on 09/02/06 13:27
"Rob" <bobie@bobb.com> schreef
> ==============BEGIN SCRIPT==================
> <?php
> //READ FOLDER
> $folder=opendir("images/art_shows");
> while ($file = readdir($folder))
> $image_names[count($image_names)] = $file;
> closedir($folder);
>
>
It has got something to do with the first part, cause when you put the file
inside the image folder and change the line to $folder=opendir(".");
the script works fabulous
SF
Navigation:
[Reply to this message]
|