Well... this didn't work. I should replace the './include' with an url. It gives me errors on lines
$liste = dir("./include"); and
while ($entry=$liste->read()){...
First on says "no such file or directory" and the other "Call to a member function on a non-object ..."
So... I guess I should do it some other way?
<?
/* what path? - put all filenames into array*/
$liste = dir("./include");
/* read out the array - only display files starting with case_style_ */
while ($entry=$liste->read()){
if (substr($entry,0,11)=='case_style_') {
/* who needs endings? cut off ending and case_style_!! */
$entry2=substr($entry,11,-4);
echo "<option value='$entry2'>$entry2</option>";}
}
$liste->close();
?>