created some simple image gallery / image view cgi scripts for my site that
generate a gallery page / image page automatically (as can bee seen here), ideally, I'd like to set it
up so that anyone on my site can just drop a link to the cgi from the directory of where the images
are, without having to pass any directory/url information to the cgi, but I have so far found no way to
do this effectively. I *think* that I could get the url side of it by parsing the HTTP_REFER variable,
but I do not see a way of getting the local directory. Any ideas?