🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

List all files in a directory to a HTML file (please reply to email)

#76
From: Hans
Date: Sat, 24 Nov 2001 11:01
17 lines
2021 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
Please reply to email: yammax@zonnet.nl

Greetings Hans
Technical Details
Message-ID: <9tnumg$be7$1@nereid.worldonline.nl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.64.68.27!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,40fb5ed62c08d011,start
X-Google-Attributes: gid1107bb,public
X-Google-Thread: fc70a,40fb5ed62c08d011,start
X-Google-Attributes: gidfc70a,public
X-Google-Thread: f707c,40fb5ed62c08d011,start
X-Google-Attributes: gidf707c,public
X-Google-Thread: 1082b7,40fb5ed62c08d011,start
X-Google-Attributes: gid1082b7,public
X-Google-Thread: fec76,40fb5ed62c08d011,start
X-Google-Attributes: gidfec76,public
X-Google-ArrivalTime: 2001-11-24 03:05:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.64.68.27!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  (please reply to email)
Date: Sat, 24 Nov 2001 12:01:49 +0100
Organization: Tiscali Netherlands
Lines: 21
Message-ID: <9tnumg$be7$1@nereid.worldonline.nl>
NNTP-Posting-Host: ppp211-213.12move.nl
X-Trace: nereid.worldonline.nl 1006599696 11719 195.240.211.213 (24 Nov 2001 11:01:36 GMT)
X-Complaints-To: newsmaster@worldonline.nl
NNTP-Posting-Date: 24 Nov 2001 11:01:36 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