Solved

Directory browsing with cgi

Posted on 1997-12-21
2
141 Views
Last Modified: 2013-12-25
I´m looking for a script to run on a NT server that can automatically display the contents of specified directories on a site - the same as on which it´s running. I´d also like the script to have an option to set a wildcard mask for filetypes, so that not all files are shown to the user browsing it. And of course, when a filename is clicked, the script should send the file.
So, a script that works like directorybrowsing, just looking better, with the filteroption, and that can be executed on a NT server.
Thanks in advance
0
Comment
Question by:lownoisE
2 Comments
 
LVL 2

Accepted Solution

by:
tpryor earned 140 total points
ID: 1831728
yes.  PERL is the scripting language you would use.
You can read the contents of any directory and filter out what you dont want. For example print all the .html files as links.

However for security reasons you wouldnt want your cgi scripts in the same dir as your html.

If you need the script written for you email me at webmaster@umeda.com with the specs.
0
 

Author Comment

by:lownoisE
ID: 1831729
Excellent help. That´s just what I needed!

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now