mathopd  

dir_cgi.c

Adamsky 'cit' Florian
Thu, 08 Sep 2005 04:35:04 -0700

Hey list,

dir_cgi.c shows the files in a directory and creates a simple html
file. This html file looks ugly and does not show enough information
for a user who wants to download a file. I wrote a little patch for
this to improve things, here´s a list:

* add icons support
* look'n feel 
* shows and convert the unixtime from 'last modified' to human-readable
time.
* size of a file is shown

You can see the applied code on: http://haktar.homeunix.org/dir_cgi/.
This is where you also find the diff file and the complete Package. If
you can think of anything that could be improved, i´d be glad if you
dropped me a line.

greetings

cit

-- 
"I can't understand why people are frightened of new ideas. 
 I'm frightened of the old ones." - John Cage


Attachment: pgpy9qAuMwPCZ.pgp
Description: PGP signature

  • dir_cgi.c Adamsky 'cit' Florian