Hi,
I have a few different templates that I want to list so my clients can see
different styles that are available.
So I want to offer them a drop down menu listing all the styles.
But to make my life easier I usually put all the templates in one folder and
the name of the sub-folder is the name of the template.
Instead of updating a file every time would there be a way of listing all
the files in one directory, (../template), and all those files will have the
same format...
<?php
$path = ...
$name = ...
$client= ...
?>
etc..
So how can I list all the files in one directory? Would there be any
security issues?
Regards.
Sims