On Sat, Apr 7, 2012 at 10:35 PM, Kirk Bailey <kbailey@xxxxxxxxxxxxxxxx> wrote: > <html> > <head> > <title>Image inventory of this directory</title> > <style TYPE="text/css"> > body { margin-left: 10; margin-right: 10%; } > body {background-attachment:fixed;} > A:link, A:visited, A:active { text-decoration:none; } > A:hover { text-decoration:underline; } > .justify{text-align:justify;} > .center{text-align:center;} > </style> > </head> > <body bgcolor="#A0A0A0" TEXT="BLACK" LINKS="BLUE"> > <CENTER>This page inventories the contents of this directory and lists all > image files in order- as > the computer determines such matters. Here is the full inventory. > <hr align="center"> > <P> > <?php > foreach (glob("*.*") as $filename) { > echo '<img src="'.$filename.'">'."<br>\n$filename\n<P>\n"; > } > ?> > </body></html> > > > This works nicely. copied code from online manual, chainsaw editing to fit, > superglue in the spare parts needed and it lists them all and composes > proper img links to display on the inventory page. NOW I have the tool i > needed; can someone else put this to good work? Well, congrats on a first somewhat useful program. All I have to say now is: you have a long way to go. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php