One thing that I failed to mention in my original post was that the above perl/html files are part of a program that does the following:
~creates a new directory
~writes a .htaccess file to the new dir
~writes a .htgroup file to the new dir
~writes a .htpasswd file to the new dir

The main thing that I am trying to figure out is how to adjust the script to have the ability to upload to the newly created directories from a browser....once logged in.

I can also set up the script to write the the "upload perl script" and "upload.html" to the newly created directory which raises another question...how can I set the newly created perl script's $basedir to point to the new dir? create a $subdir variable?

Thank you for all of your input

koa

i want to learn

In reply to Re: File Upload To Selected Directory by koacamper
in thread File Upload To Selected Directory by koacamper

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.