getit.pl

CGI application to allow users to browse a site and choose to view files, download them, or mail them somewhere as an attachment. Try it.

Description

This program is still under development and I'm not sure I like the name. That's why it's in tidbits.

User Configurable Variables

You may modify these variables to your heart's content.

$QUEUE_DIR = "/home/stu/d/dbewley/www/perl";
This is the dir that will house all files. Browsers may not view files above this dir. Symlinks and ".." will not be followed out of this dir.

$AUTHOR = "dlbewley@iupui.edu";
I only put this in here so that CGI.pm could easily add a <LINK REV=MADE to the head of the output.

$BOUNDARY = "--start-new-page-here--";
No need to change this.

$MAILPROG = "/usr/lib/sendmail -oi -t";

$MIME_TYPES = "/extra/WWW/httpd.1.4.2/conf/mime.types";
Not used yet. May be used to determine how to print a file to the browser when downloading. Not sure though because often the browser will just display types that it is aware of, ignoring the attachment disposition. I may just stick with type download.

Todo


dbewley's perl page