does anyone know how i could display all of the files in a selected directory in a select box? im stuck...thanks in advance
maybe something like:
<select name="files"> $dirPath = "/somepath"; $dhandle = opendir($dirPath);
while ($filename = readdir($dhandle)) {
echo "<option>".$filename;
}
</select>