Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Directory browsing with cgi

Posted on 1997-12-21
2
Medium Priority
?
151 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
tpryor earned 560 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

688 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