How to write CGI-Perl to drive A:\

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Cle

    How to write CGI-Perl to drive A:\

    Hi the CGI-Perl experts.

    I known how to write to a file from within CGI, and I could access
    Drive A:\ from HTML codes , such as:

    file://A:

    My question for your help: PLease show me how to do this from a CGI
    Perl script: http://www.mysite.com/cgi-bin/cgiwra...me/FileName.pl
    ?
    I followed instruction from a book, but it did not help as you would,
    I wish!

    Thank
  • Aleksei N. LOVUSHKIN

    #2
    Re: How to write CGI-Perl to drive A:\

    Hey, from Russia.

    To run PL script, u must install Perl Interpritator (Active Perl 5...) and
    Internet Server (may be Apache) and configurate it.
    Download last version for this aplications! When restart your comp, and read
    in your boot how to configurate Apache to working this Perl.

    P.S.: Your will must to change CGI-BIN directory, and i'm strongli not
    recomend A: or same on it )

    Aleksei N. LOVUSHKIN
    Moscow City, 06/12/2003
    lovushkin@comtv .ru











    "Cle" <canle@lecan.co m> ???????/???????? ? ???????? ?????????:
    news:8a21e493.0 312052012.46ed4 a0d@posting.goo gle.com...[color=blue]
    > Hi the CGI-Perl experts.
    >
    > I known how to write to a file from within CGI, and I could access
    > Drive A:\ from HTML codes , such as:
    >
    > file://A:
    >
    > My question for your help: PLease show me how to do this from a CGI
    > Perl script: http://www.mysite.com/cgi-bin/cgiwra...me/FileName.pl
    > ?
    > I followed instruction from a book, but it did not help as you would,
    > I wish!
    >
    > Thank[/color]


    Comment

    • Tom

      #3
      Re: How to write CGI-Perl to drive A:\

      I'm not sure where you are having the problem:
      1. Accessing the A:\ drive from within your CGI Perl program? It's the
      same as any other Perl program -- can you get that working?
      2. Writing CGI programs in general? Are you able to run any CGI programs on
      your server (do you have the webserver, Perl interpreter and CGI directory
      properly defined)?
      3. Are you trying to map the "/MyName/" to your A:\ drive? Set up an alias
      in Apache or IIS.
      Tom

      "Cle" <canle@lecan.co m> wrote in message
      news:8a21e493.0 312052012.46ed4 a0d@posting.goo gle.com...[color=blue]
      > Hi the CGI-Perl experts.
      >
      > I known how to write to a file from within CGI, and I could access
      > Drive A:\ from HTML codes , such as:
      >
      > file://A:
      >
      > My question for your help: PLease show me how to do this from a CGI
      > Perl script: http://www.mysite.com/cgi-bin/cgiwra...me/FileName.pl
      > ?
      > I followed instruction from a book, but it did not help as you would,
      > I wish!
      >
      > Thank[/color]


      Comment

      Working...