Posted by sunbum on 09/13/05 17:33
Here is what I have now ... (without the line numbers)
1)<?
2) # Directory
3) $dir = "\inetpub\wwwroot\templogs\";
4)
5) print "<select name='file'>";
6) $dir = opendir($dir);
7) while (false !== ($file = readdir($dir))){
8) if (in_array($file, array(".", ".."))) continue;
9) print "<option value='$file'>$file</option>";
10) }
11) print "</select>";
12)
13)
14)?>
Still gives "Parse error: parse error, unexpected T_STRING in (script)
on line 5
:(
Mike
Navigation:
[Reply to this message]
|