Comparing revisions for FileView
- [14964] 2006-07-24 14:04:38 by SmaugDragon (unregistered user)
- [19352] 2008-01-28 00:15:25 by SmaugDragon (unregistered user) [Modified links pointing to docs server]
Additions:
>>Download the latest [[http://www.paranoidpress.com/~smaug/fileview.tgz Version]]
(Not recomended for large directories or files tested on FreeBSD, Apache Server. I don't know what windows would do ##leave comment##)
Please comment if you find this action helpful It is my first "published" code and I would love to hear back from the community
KNOWN BUGS: file names with spaces ie. "This windows file.zip" will not link correctly.
echo "<tr class=\"fv\" ><th class=\"fv\" scope=\"col\"> </th><th class=\"fv\" scope=\"col\">File</th><th class=\"fv\" scope=\"col\">Size</th><th class=\"fv\" scope=\"col\">Modified</th>";
if ($md5checksum_on == 1) echo "<th class=\"fv\" scope=\"col\">md5 Checksum</th></tr>\n"; else echo "</tr>\n";
echo "</table>";
(Not recomended for large directories or files tested on FreeBSD, Apache Server. I don't know what windows would do ##leave comment##)
Please comment if you find this action helpful It is my first "published" code and I would love to hear back from the community
KNOWN BUGS: file names with spaces ie. "This windows file.zip" will not link correctly.
echo "<tr class=\"fv\" ><th class=\"fv\" scope=\"col\"> </th><th class=\"fv\" scope=\"col\">File</th><th class=\"fv\" scope=\"col\">Size</th><th class=\"fv\" scope=\"col\">Modified</th>";
if ($md5checksum_on == 1) echo "<th class=\"fv\" scope=\"col\">md5 Checksum</th></tr>\n"; else echo "</tr>\n";
echo "</table>";
Deletions:
(Not recomended for large directories or files.)
Tested on FreeBSD, Apache Server. I don't know what windows would do ##leave comment##
Please comment if you find this action helpful It is my first "published" code and I would love to hear back from the community.
echo '<tr class="fv"><th class="fv" scope="col"> </th><th class="fv" scope="col">File</th><th class="fv" scope="col">Size</th><th class="fv" scope="col">Modified</th>';
if ($md5checksum_on == 1) echo '<th class="fv" scope="col">md5 Checksum</th></tr>'."\n"; else echo "</tr>\n";
echo '</table>';