Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] Question on web forms?

Expand Messages
  • Charles K. Clarkson
    ... Depends on what perl_01.pl and perl_02.pl do and what operating system your using. I m sure perlipc would give you good advice. You could use open , lwp
    Message 1 of 3 , Jun 28, 2002
    • 0 Attachment
      "crystaladultpix" <admin@...> wrote:

      : --- In perl-beginner@y..., "Charles K. Clarkson" <cclarkson@h...>
      : wrote:
      : > "crystaladultpix" <admin@c...> wrote:
      : >
      : > : How do I get the script to send the info that was submited
      : > : to go to 2 other different scripts.
      : >
      : > I don't think so.
      : > You would need to send the info to one script and then have
      : > it send the info to the other. If you don't know ahead of time
      : > which programs are being called, you'll need to create some
      : > kind of router:
      : >
      : > <form method="post" action="/cgi-bin/router.pl">
      : > <!-- Program names go in value -->
      : > <input type="hidden" name="calls"
      : value="perl_01.pl;perl_02.pl" />
      : > .
      : > .
      : > .
      : > </form>
      : >

      : Ok but what is the code for router.pl

      Depends on what perl_01.pl and perl_02.pl do and what
      operating system your using. I'm sure perlipc would give
      you good advice.

      You could use 'open', lwp or change the programs to
      accept command line as well as CGI input. You could
      possibly write the router in bash or sh and call the
      programs from the shell (in *nix). I have little idea how
      you can do this. I'm not very familiar with the unix
      command line.


      HTH,

      Charles K. Clarkson
      --
      Head Bottle Washer,
      Clarkson Energy Homes, Inc.
      Small commercial and residential rehabilitation specialists.
      254 968-8328

      CJ Web Work - Solutions for Real Estate Investors.
      972 216-4952
    Your message has been successfully submitted and would be delivered to recipients shortly.