Hi everyone, i have half night thinking without finding a way to do this.

I will try to ask it as easy as i can.

I am trying to find a way to write a CGI, that install a program in a specific directory,
for example,
lets say i have a program called "app", i have both unix and win versions and when the user enter in the setup page, it will promp something like
"Are you sure you want to install app ?
Then the CGI install it in
/usr/sbinin Unix or
C:\WINDOWS\in Windows
The user don't need to specify directory or O.S , just answer yes and the CGI will do the work

Any help will be really welcome
thanx

edit: removed pre-tag (neophyte, 2001-08-27)


In reply to Installing from web by shadox

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.