The following php code will allow you to display/show all images in a folder. Be careful as if there is an executable file in this folder it will get executed.
(Just cause I'm tired of searching for it every time I want to do it)
$dir=dir("./images/.");
while($filename=$dir->read())
{
if($filename != "."
&& $filename != ".."
&& $filename != ".."
&& $filename != "Thumbs.db" )
{
print $filename . " - ";
}
Tuesday, September 9
Followers
Copyright 2009 mobeamer. Powered by Blogger
Blogger Templates created by Deluxe Templates
Wordpress by Nattywp
0 comments:
Post a Comment