I noticed that Message-ID:
<11**********************@l41g2000cwc.googlegroups .com> from
bo********@gmail.com contained the following:
for($i=0; $i<10; $i++)
{
$entryname = readdir($mydir);
$images[] = $entryname;
echo("<br>");
Well I don't think that's the only problem with this function. The only
thing it appears to output is line breaks.
This snippet from one of my scripts might help.
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if(($file!="."&&$file!="..")){
echo "<tr><td>filename: </td><td><b> <a
href=\"$file\">$file</a></b></td><td>Type: </td><td>". filetype($dir
.. $file)."</td><td align=\"center\"><input
type=\"checkbox\"name=\"delete[]\" value=\"$file\"><td></tr>\n";
}
}
closedir($dh);
}
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs
http://www.ckdog.co.uk/rfdmaker/