CGI module and recovering a file transfered via a html form.

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default CGI module and recovering a file transfered via a html form.

    Hello,

    I am new in handeling of html and cgi tranfert I am working with
    unix macosx and I know that I manage to transfer from a html form a
    simple txt file with <INPUT TYPE="file" NAME="SEQFILE"> to a cgi
    script called X.cgi with <form ACTION="X.cgi" METHOD = POST
    NAME="MainX" ENCTYPE= "multipart/form-data">

    To obtain the name of the file in the X.cgi I manage to use CGI module
    with $query= param->'SEQFILE' but how can I handle the all file in
    this X.cgi.
    My aim is to use it in a perl command in this script X.cgi as:
    system (/usr/bin/perl, /bla/bli/blo/Y.pl, "the file text in SEQFILE",
    other options to follow) to execute the Y.pl script with options as
    the file...

    Is it suffucient to explain my situation or do I have to be more
    precise in the editions of the scripts to have some help?

    Please, I really would like to learn and understand more about it...

    LN

    PS Have a nice WE!
    lynn Guest

  2. Similar Questions and Discussions

    1. Recovering File When Contribute Crashes
      Hi All I may be clutching at strwas as the saying goes. My Contribute 3 has just crashed as I made changes to a file on my website and went to...
    2. Pass URL Parameter from html form to flash form
      In CF, I have a link to a form to update a students attendance; takeattendancehv1.cfm?StudentID=#allstudents.StudentID# . I'm using a flash form in...
    3. HTML <Href Link inside a form (HTML text box)
      Hello, I am using a standard HTML Form to gather information from users and one of the elements within the form is a text box that users will paste...
    4. Best HTML Templating Module
      Hello All, I'm writing a social networking CGI script, and it's reached the point where I should really separate the HTML from the logic. I've...
    5. attaching a file with information from a html form
      Hi all, I still haven't had any success with this particular problem :o( Is it possible to attach a text file that includes the content of a...
  3. #2

    Default Re: CGI module and recovering a file transfered via a html form.

    lynn wrote:
    > To obtain the name of the file in the X.cgi I manage to use CGI
    > module with $query= param->'SEQFILE' but how can I handle the all
    > file in this X.cgi.
    <snip>
    > Is it suffucient to explain my situation
    No.
    > or do I have to be more precise in the editions of the scripts to
    > have some help?
    Posting a simple script that shows us what you've got so far would
    certainly increase your chances to get useful advise.

    --
    Gunnar Hjalmarsson
    Email: [url]http://www.gunnar.cc/cgi-bin/contact.pl[/url]

    Gunnar Hjalmarsson Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139