Jump to content

How2 pass html directory location to perl script


jwzumwalt
 Share

Recommended Posts

I am a school teacher and administrate a web site for my kids. I have designed a Perl script that makes a custom directory listing. It does not show private or hidden directories. For example it does not show my directories with answers to class home work.My problem is that I have a large site and do not wish to have to custom set a var for each index.html document location so that the Perl script knows what directory to create. Is there an environment variable or some way for my html form to know where it is at (what directory it is in?).Here is an example of what I have to set for each html page... Ugg!<input name="target" value="../html/classes/animation/wk-01-- orientation-safety" type="hidden">Thanks for the help JZ

Link to comment
Share on other sites

There are several ways to obtain this information using php or asp, both server-side scripting languages, but none that I know of in html. Possibly javascript, but I don't think so. It is client side.Might be better to take this question to the php forum.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...