🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.php
Article #74

list all files in a directory to a HTML file

#74
From: Hans
Date: Tue, 20 Nov 2001 20:51
16 lines
1943 bytes
Hi all,

I got a site containing tours. For each location I got a directory. Now I
need a CGI script that generates a list from al files in a directory en puts
that list on a customisable HTML file. I want also to give a description of
the file.

I want for each location (directory) a HTML list with all files.

When I get new tours suplied (.doc or .xls or .doc) I just want to copy that
file in the right directory, en then it must appear on the list.

Can anybody help me??
Thanks in advance

Greetings Hans
Technical Details
Message-ID: <9tefnp$s1e$1@nereid.worldonline.nl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsgate.cistron.nl!news.worldonline.nl!newsclients!news.worldonline.nl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1107bb,a22aff95de013d49,start
X-Google-Attributes: gid1107bb,public
X-Google-Thread: f707c,a22aff95de013d49,start
X-Google-Attributes: gidf707c,public
X-Google-Thread: fec76,a22aff95de013d49,start
X-Google-Attributes: gidfec76,public
X-Google-Thread: 1082b7,a22aff95de013d49,start
X-Google-Attributes: gid1082b7,public
X-Google-Thread: fc70a,a22aff95de013d49,start
X-Google-Attributes: gidfc70a,public
X-Google-ArrivalTime: 2001-11-20 12:55:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsgate.cistron.nl!news.worldonline.nl!newsclients!news.worldonline.nl!not-for-mail
From: "Hans" <yammax@zonnet.nl>
Newsgroups: alt.comp.lang.php,alt.comp.perlcgi.freelance,alt.perl,dk.edb.programmering.perl,it.comp.www.php
Subject: list all files in a directory to a HTML file
Date: Tue, 20 Nov 2001 21:51:10 +0100
Organization: Tiscali Netherlands
Lines: 18
Message-ID: <9tefnp$s1e$1@nereid.worldonline.nl>
NNTP-Posting-Host: ppp212-116.12move.nl
X-Trace: nereid.worldonline.nl 1006289465 28718 195.240.212.116 (20 Nov 2001 20:51:05 GMT)
X-Complaints-To: newsmaster@worldonline.nl
NNTP-Posting-Date: 20 Nov 2001 20:51:05 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600