note 66831 deleted from function.scandir by bjori
| From: | bjori@php.net | Date: | Tue, 30 May 2006 18:49:29 +0000 |
| Subject: | note 66831 deleted from function.scandir by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-112555@lists.php.net to get a copy of this message | ||
Note Submitter: wan007 at gmail dot com
Reason: useless
----
$list = scandir("download");
$i = 0;
$num = count($list);
while($i < $num) {
{
if( ($list[$i]!=".") and ($list[$i]!=".."))
echo "<table width='450' border='1' align='center'
bordercolor='#CFCFCF' bgcolor='#fcfcfc' class='tabela'>
<tr>
<td> <a
href=\"download/$list[$i]\">$list[$i]</a><br/></td>
</tr>
</table>";
$i++;
}
}